IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#300 closed defect (fixed)

psMatrixLUSolve does not allow NULL output

Reported by: Paul Price Owned by: robert.desonia@…
Priority: high Milestone:
Component: math Version: 0.4.0
Severity: normal Keywords:
Cc:

Description

Passing outVector = NULL to psMatrixLUSolve is not supported: the function
generates an error:

2005:02:09 03:28:16Z|mithrandir |E|psMatrixLUSolve (psMatrix.c:250)

Unallowable operation: psVector outVector or its data is NULL.

and returns NULL. The expected behaviour is for the function to allocate the
vector itself (though I admit this isn't explicit in the SDRS, it was intended).

Workaround is to allocate the vector before calling the function.

Change History (5)

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

Owner: changed from robert.desonia@… to george.gusciora@…

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

Owner: changed from george.gusciora@… to robert.desonia@…

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

Resolution: fixed
Status: newclosed

Fixed in CVS head. Also went through psMatrix, changing behaviour of errors so
that NULL is returned upon error (and any 'out' parameter is freed, so that
that reference is not lost).


comment:4 by Paul Price, 21 years ago

Keywords: VERIFIED added

comment:5 by Paul Price, 21 years ago

Keywords: VERIFIED removed
Note: See TracTickets for help on using tickets.