IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#409 closed defect (fixed)

psLookupTableInterpolate and psLookupTableInterpolateAll do not match spec

Reported by: Paul Price Owned by: Paul Price
Priority: low Milestone:
Component: types Version: 0.5.0
Severity: minor Keywords:
Cc:

Description

The implementations contain "psLookupStatusType *status" and "psVector *stats",
which are not specified in the SDRS. As far as I can tell, the specification in
the SDRS contains sufficient status information (return NaN or NULL in event of
failure).

[This is of less importance:]
Regarding the implementation, psLookupTableInterpolateAll calls
psLookupTableInterpolate for each column, which is inefficient. Ideally, each
should call an additional function that finds the desired index in the lookup
table (would it help to define a psVectorSearch to perform a binary search?) and
then perform the interpolation.

Change History (5)

comment:1 by robert.desonia@…, 21 years ago

Owner: changed from robert.desonia@… to Eric.VanAlst@…

comment:2 by Eric.VanAlst@…, 21 years ago

Owner: changed from Eric.VanAlst@… to Paul Price

The status has been removed from both psLookupTableInterpolate and
psLookupTableInterpolateAll. Both functions should match SDR prototype. I'll
leave it to you to decide whether performance increase is necessary. Currently,
the only place where lookup tables are used is in the time functions.

comment:3 by Paul Price, 21 years ago

Resolution: fixed
Status: newclosed

I suggest we simply note the possible upgrade path, but concern ourselves with
simply getting it working first.

comment:4 by Paul Price, 20 years ago

Keywords: VERIFIED added

Bug has been resolved.... closing.

comment:5 by Paul Price, 20 years ago

Keywords: VERIFIED removed

Bugs have been fixed... closing.

Note: See TracTickets for help on using tickets.