IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 20 years ago

Closed 20 years ago

#835 closed defect (fixed)

psLookupTable & partially constructed tables

Reported by: David.Robbins@… Owned by: Paul Price
Priority: high Milestone:
Component: types Version: unspecified
Severity: minor Keywords:
Cc:

Description

it's unclear how the psLookupTable functions should handle a case where an input
table has a partially constructed row. For example:

#
#psF32 psU16 psU32
-10.05 2 4
3500.67 8 16
10000.1

Currently no errors seem to be reported for this case but there is a resulting
memory leak. The documentation doesn't seem to include this case.

Change History (1)

comment:1 by Paul Price, 20 years ago

Resolution: fixed
Status: newclosed

I think this is a reasonable condition to produce an error. I updated the SDRS:

If the input file does not conform to the expected format (e.g., not enough
columns in a row) the function shall generate an error and return \code{NULL}.

Note: See TracTickets for help on using tickets.