10 Jun
2005
10 Jun
'05
3:31 p.m.
I'm testing multi_array with a simple example: typedef boost::multi_array<double, 3> array; array A(boost::extents[3][4][2]); A[0][0][0] = 3.14; array B; B = A; When execute the last statement B=A, you encounter assertion: assert(std::equal(other.shape(),other.shape()+this->num_dimensions(), this->shape())); in file multi_array_ref.hpp (line 476). I used VC++ 7.1 with debug build. Please advice.