Skip to content

Commit 289f504

Browse files
committed
Fixes #728
Proper testing will require python script to modify input file
1 parent fecada8 commit 289f504

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Modules/DataIO/GenericReader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ GenericReader<HType, PortTag>::execute()
157157

158158
time_t new_filemodification = boost::filesystem::last_write_time(filename_);
159159

160-
if (needToExecute()
160+
if (new_filemodification != old_filemodification_ ||
161+
needToExecute()
161162
#ifdef SCIRUN4_CODE_TO_BE_ENABLED_LATER
162163
|| filename_changed ||
163-
new_filemodification != old_filemodification_ ||
164164
!oport_cached(0) ||
165165
!oport_cached("Filename")
166166
#endif

0 commit comments

Comments
 (0)