Cleanup environment variables.
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / readir.c
index 68a2a71d73129744caa8b6471698f4515461890a..b2d19cd75df263ecd553ef716a9dd7fa3cace9e4 100644 (file)
@@ -1071,7 +1071,7 @@ void check_ir(const char *mdparin, t_inputrec *ir, t_gromppopts *opts,
         ir->epsilon_r  = 1.0;
     }
 
-    if (getenv("GALACTIC_DYNAMICS") == NULL)
+    if (getenv("GMX_DO_GALACTIC_DYNAMICS") == NULL)
     {
         sprintf(err_buf, "epsilon-r must be >= 0 instead of %g\n", ir->epsilon_r);
         CHECK(ir->epsilon_r < 0);