Opened 16 years ago

Closed 16 years ago

#294 closed defect (fixed)

istream constructors try to create zero size gsl vector/matrix.

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.4
Component: utility Version: trunk
Keywords: Cc:


gsl: init_source.c:29: ERROR: matrix dimension n1 must be positive integer

This should be checked for. Either set gsl vector*/matrix* to null or throw an exception.

Change History (3)

comment:1 Changed 16 years ago by Jari Häkkinen

Milestone: To Be Determined0.4

This error occurs if there is no stream or if the stream is empty. If the stream is empty then a 0x0 matrix should be created.

comment:2 Changed 16 years ago by Peter

Owner: changed from Jari Häkkinen to Peter
Status: newassigned

comment:3 Changed 16 years ago by Peter

Resolution: fixed
Status: assignedclosed

in [1147]

Note: See TracTickets for help on using tickets.