Boost logo

Ublas :

From: Christophe Prud'homme (prudhomm_at_[hidden])
Date: 2005-08-04 14:36:39


Michael

unless I am missing something ,
if you want to compile the following code

#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/matrix.hpp>

int main()
{
  using namespace boost::numeric::ublas;

  vector<double> a;
  a = zero_vector<double>(10);
  matrix<double> b;
  b = zero_matrix<double>(10,10);
}

you need to apply the patch attached (or something along those lines) to this
email
as _container<> does not have any size() or size1()/size2() member functions

Best regards
C.