Boost logo

Boost Users :

From: David Jung (t7_at_[hidden])
Date: 2002-09-07 13:28:21


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<>)

Cheers,
-David Jung.


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