|
Boost Users : |
From: Yan Zhang (Yan.Zhang_at_[hidden])
Date: 2005-06-10 10:31:02
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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net