Boost logo

Ublas :

From: Peter Schueller (ps_at_[hidden])
Date: 2007-04-29 10:22:58


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.

Please CC me in replies as I am not subscribed.

Best Regards,

Peter Schueller