Skip to content

Commit d8c8b75

Browse files
committed
Update last_file in cio_array()
1 parent fddb93e commit d8c8b75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/novas.c

+2
Original file line numberDiff line numberDiff line change
@@ -4172,6 +4172,8 @@ short cio_array(double jd_tdb, long n_pts, ra_of_cio *cio) {
41724172
if(fread(&jd_end, sizeof(double), 1, cio_file) != sizeof(double)) return -1;
41734173
if(fread(&t_int, sizeof(double), 1, cio_file) != sizeof(double)) return -1;
41744174
if(fread(&n_recs, sizeof(long), 1, cio_file) != sizeof(double)) return -1;
4175+
4176+
last_file = cio_file;
41754177
}
41764178

41774179
//Check the input data against limits.

0 commit comments

Comments
 (0)