Warn for type mismatch for gmx printf like functions 2/3
[alexxy/gromacs.git] / src / gromacs / awh / read-params.cpp
index 63e4fc0696d0e10227df365d6051ea3f3b4d91ab..353ec243505ccf3763bb49db1fd693ad172921ae 100644 (file)
@@ -271,7 +271,7 @@ static void read_bias_params(std::vector<t_inpfile> *inp, AwhBiasParams *awhBias
     awhBiasParams->errorInitial = get_ereal(inp, opt, 10, wi);
     if (awhBiasParams->errorInitial <= 0)
     {
-        gmx_fatal(FARGS, "%s (%d) needs to be > 0.", opt);
+        gmx_fatal(FARGS, "%s needs to be > 0.", opt);
     }
 
     if (bComment)
@@ -703,7 +703,7 @@ static void checkInputConsistencyInterval(const AwhParams *awhParams, warninp_t
 
             if ((period == 0) && (origin > end))
             {
-                gmx_fatal(FARGS, "For the non-periodic pull coordinates awh%d-dim%d-start cannot be larger than awh%f-dim%d-end",
+                gmx_fatal(FARGS, "For the non-periodic pull coordinates awh%d-dim%d-start (%f) cannot be larger than awh%d-dim%d-end (%f)",
                           k + 1, d + 1, origin, k + 1, d + 1, end);
             }