Boost logo

Ublas :

From: Vento Neicapelli (lascoscazzato_at_[hidden])
Date: 2005-01-20 06:39:11

Dear Micheal,
Dear Gunter,

Thanks you for your help!

Micheal wrote:

>Iterators definitely only iterate over the sparse elements for the sparse
>matrix types. That is they iterate over the structural non zeros. If you
>are getting full rows and column that would mean that you have previously
>assigned values to them.....

the problem was using iterator1,2 instead of const_iterator1,2..

Gunter wrote:
>Did you use const_iterator1 and const_iterator2? There is a difference
>between mutable iterators and immutable const_iterators.
Yes I did....I use only iterator1,2. Why are thy different?


Express yourself instantly with MSN Messenger! Download today it's FREE!