Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / tools / mcprop.c
index 107ce597156170b8f9e67b1e43219eceeff0f948..2b0433d920582a0133174726fd79fec66131838e 100644 (file)
@@ -58,7 +58,7 @@ void normalise_vec(int nx,real x[])
     x[j]*=fac;
 }
 
-static real do_step(int nx,real x[],int i,int *ig,real step,bool bPlus)
+static real do_step(int nx,real x[],int i,int *ig,real step,gmx_bool bPlus)
 {
   static real   r=0;
   
@@ -120,7 +120,7 @@ void do_mc(FILE *fp,int nx,real x[],real step,real v0,real tol,
   FILE   *ffp[2];
   FILE   *ftrj;
   int    i,j,k,m,f,n,ig,cur=0;
-  bool   bConv,bUp;
+  gmx_bool   bConv,bUp;
   real   vtol,r,bmf,*rx[2],valmin,vplusmin[2],stepsize;
   double dv,val[2];
 #define next (1-cur)