Hello,

 

I’m a newbie with boost.

I’m using the boost_1_33_1 library with MSVC++2005.

When I used this code below : I’ve got a exception “bad_index”. Do anyone of you know why ?

 

typedef boost::numeric::ublas:: symmetric_matrix<int> SymetricMatrix;

 

 

SymetricMatrix          matrice;

 

matrice.resize(2, true);

matrice(0,1) = 10;

matrice.resize(3, true);      // exception raised in “detail::matrix_resize_preserve<layout_type> (*this, temporary) which call BOOST_UBLAS_CHECK (i < size_, bad_index ());”!!!

 

 

Thanks for your help.