Replace EnumOption with EnumerationArrayOption
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_analyze.cpp
index 8dd13887554f0f3ab39c0266b6ec9e7632e7c45e..75888d57fc5093e1170fe6c57adef84baeb375c2 100644 (file)
@@ -631,13 +631,13 @@ static void estimate_error(const char*             eefile,
             tau2 = fitparm[2];
         }
         fprintf(stdout, "Set %3d:  err.est. %g  a %g  tau1 %g  tau2 %g\n", s + 1, ee, a, tau1, tau2);
-        if (output_env_get_xvg_format(oenv) == exvgXMGR)
+        if (output_env_get_xvg_format(oenv) == XvgFormat::Xmgr)
         {
             fprintf(fp, "@ legend string %d \"av %f\"\n", 2 * s, av[s]);
             fprintf(fp, "@ legend string %d \"ee %6g\"\n", 2 * s + 1,
                     optimal_error_estimate(sig[s], fitparm, n * dt));
         }
-        else if (output_env_get_xvg_format(oenv) == exvgXMGRACE)
+        else if (output_env_get_xvg_format(oenv) == XvgFormat::Xmgrace)
         {
             fprintf(fp, "@ s%d legend \"av %f\"\n", 2 * s, av[s]);
             fprintf(fp, "@ s%d legend \"ee %6g\"\n", 2 * s + 1,