Due to a comparison between temperatures in single and double precision
g_bar could give a fatal error when processing xvg files.
Change-Id: Ie63187261b3f20f8e241bf606cc9f23fdd93ec2b
gmx_fatal(FARGS,"File '%s' contains fewer than two columns", fn);
}
- if ( ( *temp != barsim->temp) && (*temp > 0) )
+ if ( !gmx_within_tol(*temp,barsim->temp,GMX_FLOAT_EPS) && (*temp > 0) )
{
gmx_fatal(FARGS,"Temperature in file %s different from earlier files or setting\n", fn);
}