|
Ublas : |
From: Christophe Prud'homme (christophe.prudhomme_at_[hidden])
Date: 2005-08-04 14:12:04
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.
-- Christophe Prud'homme EPFL SB IACS CMCS MA B2 534 (Bâtiment MA) Station 8 CH-1015 Lausanne Tel: +41 (0)21 693 25 47 Fax: +41 (0)21 693 43 03