Somehow the tpx_version produced by 4.5.5 was higher (73)
than expected, making the the tpx reading incorrectly
assuming this was using the new file format.
Now set to the version before the
first official 4.6 tpx format, 82 to match the tpr files
in the regression tests. Duh!
Change-Id: I40d8ffa0d350cf3b690f8dfb071fc191f027d02f
gmx_fio_do_real(fio, iparams->orires.kfac);
break;
case F_DIHRES:
- if (file_version < 72)
+ if (file_version < 82)
{
gmx_fio_do_int(fio, idum);
gmx_fio_do_int(fio, idum);
gmx_fio_do_real(fio, iparams->dihres.phiA);
gmx_fio_do_real(fio, iparams->dihres.dphiA);
gmx_fio_do_real(fio, iparams->dihres.kfacA);
- if (file_version >= 72)
+ if (file_version >= 82)
{
gmx_fio_do_real(fio, iparams->dihres.phiB);
gmx_fio_do_real(fio, iparams->dihres.dphiB);