fits.sl bug.

From: Ronnie Hoogerwerf <ronnieh_at_email.domain.hidden>
Date: Mon, 07 Nov 2005 16:11:33 -0500
Hi,

I wanted to report a bug (and fix) to a $ISIS_SRCDIR/share/fits.sl 

lines 502 and 503 read:

   do_fits_error (_fits_read_cols (fp, columns, first_row, last_row, 
&data_arrays));
   numrows = last_row - first_row + 1;


However, _fits_read_cols wants as arguments the first_row and the number
of rows to read, not the last row. So the following works:

   numrows = last_row - first_row + 1;
   do_fits_error (_fits_read_cols (fp, columns, first_row, numrows, 
&data_arrays));

Thanks,
Ronnie


----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Tue Nov 08 2005 - 06:44:35 EST

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:44 EDT