|
Ublas : |
From: Georg Baum (Georg.Baum_at_[hidden])
Date: 2005-08-26 09:47:03
Hello Michael,
I get the following warning with the attached program and current CVS:
boost/numeric/ublas/storage.hpp: In member function `void
boost::numeric::ublas::unbounded_array<T, ALLOC>::resize_internal(typename
ALLOC::size_type, T, bool) [with T = double, ALLOC =
std::allocator<double>]':
boost/numeric/ublas/storage.hpp:110: warning: `double*data' might be used
uninitialized in this function
It is important to compile it with -O2. The warning is correct as far as I can
see: Consider the case size == 0 && size_ != 0.
Georg