|
Boost Users : |
From: jhrwalter (walter_at_[hidden])
Date: 2002-09-08 15:55:34
--- In Boost-Users_at_y..., David Jung <t7_at_p...> wrote:
> 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
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