Opened 15 years ago

Closed 15 years ago

#434 closed defect (fixed)

Vector::Vector(0) crashes

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


Vector(0) crashes with

gsl: init_source.c:29: ERROR: vector length n must be positive integer
Default GSL error handler invoked.
Aborted (core dumped)

Shouldn't Vector(0) behave like Vector(void), i.e., create an empty Vector?

Change History (2)

comment:1 Changed 15 years ago by Peter

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

comment:2 Changed 15 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [1506]) fixes #434

Note: See TracTickets for help on using tickets.