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,