Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2007-05-01 08:30:57


Am Sonntag, 29. April 2007 16:22 schrieb Peter Schueller:
> Hello!
>
> I have a problem resizing a triangular matrix, in fact i want to
> decrease the size by one while decreasing the elements.
>
> I always get a bad_index exception and I think this happens because
> boost::detail::matrix_resize_preserve tries to copy all elements,
> including the elements which have to be zero by definition of a
> triangular matrix.
>
> Is this a bug or am I doing something wrong?
> I am using version 1.33.1.

this is a bug and I just commited a patch to cvs head.

mfg
Gunter