$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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