Commit 2238bbb45f16d9c3619da91c4138d2a5216138a2
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,6 +322,9 @@ void ctobssim::save(void) | ||
| 322 | // Save file | 322 | // Save file |
| 323 | obs->save(filename, clobber()); | 323 | obs->save(filename, clobber()); |
| 324 | 324 | ||
| 325 | + // Increment file number | ||
| 326 | + file_num++; | ||
| 327 | + | ||
| 325 | } // endif: observation was a CTA observation | 328 | } // endif: observation was a CTA observation |
| 326 | 329 | ||
| 327 | } // endfor: looped over files | 330 | } // endfor: looped over files |