Enforced rotation: use the right tpx_version
authorCarsten Kutzner <ckutzne@gwdg.de>
Mon, 15 Nov 2010 09:56:55 +0000 (10:56 +0100)
committerCarsten Kutzner <ckutzne@gwdg.de>
Mon, 15 Nov 2010 09:56:55 +0000 (10:56 +0100)
src/gmxlib/tpxio.c

index 762015da929a05369c8163900a3a7388546358b0..a7b7054a8b3e6b56afc83a371a62d3e1e116874d 100644 (file)
@@ -797,7 +797,7 @@ static void do_inputrec(t_fileio *fio, t_inputrec *ir,gmx_bool bRead,
     }
     
     /* Enforced rotation */
-    if (file_version >= 9999) { /* TODO: set the right number here */
+    if (file_version >= 74) {
         gmx_fio_do_int(fio,ir->bRot);
         if (ir->bRot == TRUE) {
             if (bRead)