Re: fits.sl bug.

From: John Houck <houck_at_email.domain.hidden>
Date: Tue, 8 Nov 2005 07:01:42 -0500
On Mon, Nov 07, 2005 at 16:11 -0500, Ronnie Hoogerwerf wrote:
> 
> 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
> 

Yes, this is a bug in a subroutine internal to the FITS module.
>From looking at the FITS module code, I believe this bug
affects only calls to fits_read_cell and fits_read_cells.

I'll include your patch in the next release.

Thanks,
-John
----
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 - 07:02:14 EST

This archive was generated by hypermail 2.2.0 : Thu Mar 15 2007 - 08:45:51 EDT