Commit 2238bbb45f16d9c3619da91c4138d2a5216138a2

Authored by knodlseder
1 parent 4fa673d1

add file counter increment

Showing 1 changed file with 3 additions and 0 deletions
src/ctobssim/ctobssim.cpp
... ... @@ -322,6 +322,9 @@ void ctobssim::save(void)
322 322 // Save file
323 323 obs->save(filename, clobber());
324 324  
  325 + // Increment file number
  326 + file_num++;
  327 +
325 328 } // endif: observation was a CTA observation
326 329  
327 330 } // endfor: looped over files
... ...