Merge "Resolved gerrit issue https://gerrit.gromacs.org/#change,126" into release...
authorRossen Apostolov <rossen@kth.se>
Mon, 19 Sep 2011 13:38:49 +0000 (15:38 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 19 Sep 2011 13:38:49 +0000 (15:38 +0200)
include/gmx_ana.h
src/tools/binsearch.c

index b1eeaf555046bfd6d5c7598235787131c08d9734..ecd659bd8fc47aaba3610da65acd00f7192c8d58 100644 (file)
@@ -78,6 +78,9 @@ gmx_density(int argc,char *argv[]);
 int 
 gmx_densmap(int argc,char *argv[]);
 
+int 
+gmx_densorder(int argc,char *argv[]);
+
 int 
 gmx_dielectric(int argc,char *argv[]);
 
@@ -144,6 +147,9 @@ gmx_helix(int argc,char *argv[]);
 int
 gmx_helixorient(int argc,char *argv[]);
 
+int
+gmx_hydorder(int argc,char *argv[]);
+
 int 
 gmx_kinetics(int argc,char *argv[]);
 
index 1cded0cff9d615432983add329bd4e09d0228d3c..d52074b537b86b083d07e662288fae8dd02d1156 100644 (file)
@@ -165,7 +165,8 @@ int LinearSearch (double *array,int startindx, int stopindx,
     }
 
     else 
-        fprintf(stderr,"Error: startindex=stopindex=%d\n",startindx);
-
+        gmx_fatal(FARGS,"Startindex=stopindex=%d\n",startindx);
+        
+    return -1;
 }