
8 Sep
2002
8 Sep
'02
8:55 p.m.
--- In Boost-Users@y..., David Jung
Hi. The online documentation for zero_vector<> says: zero_vector<T> Constructs a zero vector. v (size)
However, line 786 of boost/numeric/ublas/vector.hpp from latest CVS reads: zero_vector (size_type size, size_type index): size_ (size) {}
and there is no single size_type size argument constructor. Isn't this a bug? (looks like a cut-paste from unit_vector<>)
Yes, it is (and it was cut & paste ;-). The bug should be fixed in CVS. Thanks for your feedback Joerg