fixed typo in previous commit
authorPeter Kasson <kasson@Macintosh-175.local>
Sun, 20 Jun 2010 16:59:30 +0000 (09:59 -0700)
committerPeter Kasson <kasson@Macintosh-175.local>
Sun, 20 Jun 2010 16:59:30 +0000 (09:59 -0700)
src/mdlib/stat.c

index f5ca84c1556da7a78a8eb076285afb5fc7f4fa97..12425d89b8c2ab9a074fd6e605dfb5de4677ddf6 100644 (file)
@@ -453,11 +453,13 @@ gmx_mdoutf_t *init_mdoutf(int nfile,const t_filenm fnm[],bool bAppendFiles,
     {
         sprintf(filemode, bAppendFiles ? "a+" : "w+");  
         
-        if (ir->eI != eiNM &&
-            (ir->nstxout > 0 ||
+        if (ir->eI != eiNM 
+            #ifndef GMX_FAHCORE
+            && (ir->nstxout > 0 ||
              ir->nstvout > 0 ||
-             ir->nstfout > 0 ||
-            defined(GMX_FAHCORE)))
+             ir->nstfout > 0)
+            #endif
+           )
         {
             of->fp_trn = open_trn(ftp2fn(efTRN,nfile,fnm), filemode);
         }