Page 1 of 1

matrices with no columns and the | operator

Posted: 10 Jan 2012, 10:01
by nkriha
I don't know if matrices with a zero for one of the dimensions should ever be constructed but this results in a segfault:

Code: Select all

$A = new Matrix<Rational>(5,5); $B = $A | new Matrix<Rational>(5,0); new Polytope<Rational>(POINTS=> $B);
It looks like B is already in some messed up state because viewing columns or rows of it works but print $B shows nothing.

Re: matrices with no columns and the | operator

Posted: 10 Jan 2012, 12:21
by gawrilow
Also worth creating a ticket.