Skip to content
Snippets Groups Projects
Commit 9b89f9fe authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Fix #619

parent ff62686e
No related branches found
No related tags found
No related merge requests found
...@@ -245,7 +245,7 @@ void Read::update() { ...@@ -245,7 +245,7 @@ void Read::update() {
if( !cloned_file ) { if( !cloned_file ) {
for(unsigned i=0; i<nlinesPerStep; ++i) { for(unsigned i=0; i<nlinesPerStep; ++i) {
ifile->scanField(); double du_time; ifile->scanField(); double du_time;
if( plumed.getAtoms().getNatoms()==0 && !ifile->scanField("time",du_time) ) plumed.stop(); if( !ifile->scanField("time",du_time) && plumed.getAtoms().getNatoms()==0 ) plumed.stop();
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment