Redefine the default boolean type to gmx_bool.
[alexxy/gromacs.git] / src / tools / gmx_potential.c
index 6bfcf7a6fd3806d8e3b92409792eafa50fe799d5..9abef117ac84e00568a7034104b80bd0ce9b791c 100644 (file)
@@ -99,7 +99,7 @@ void calc_potential(const char *fn, atom_id **index, int gnx[],
                    double ***slField, int *nslices, 
                    t_topology *top, int ePBC,
                    int axis, int nr_grps, double *slWidth,
-                   double fudge_z, bool bSpherical, bool bCorrect,
+                   double fudge_z, gmx_bool bSpherical, gmx_bool bCorrect,
                     const output_env_t oenv)
 {
   rvec *x0;              /* coordinates without pbc */
@@ -394,9 +394,9 @@ int gmx_potential(int argc,char *argv[])
   static const char *axtitle="Z"; 
   static int  nslices = 10;                  /* nr of slices defined       */
   static int  ngrps   = 1;
-  static bool bSpherical = FALSE;            /* default is bilayer types   */
+  static gmx_bool bSpherical = FALSE;            /* default is bilayer types   */
   static real fudge_z = 0;                    /* translate coordinates      */
-  static bool bCorrect = 0;
+  static gmx_bool bCorrect = 0;
   t_pargs pa [] = {
     { "-d",   FALSE, etSTR, {&axtitle}, 
       "Take the normal on the membrane in direction X, Y or Z." },