|
Ublas : |
From: eeitan_at_[hidden]
Date: 2005-12-18 06:09:44
hello, i am using the boost files:
#include <boost/shared_ptr.hpp>
#include <boost/random.hpp>
#include <boost/limits.hpp>
#include <boost/dynamic_bitset.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/vector_proxy.hpp>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/matrix_proxy.hpp>
#include <boost/numeric/ublas/symmetric.hpp>
#include <boost/numeric/ublas/triangular.hpp>
#include <boost/numeric/ublas/matrix_sparse.hpp>
#include <boost/numeric/ublas/operation_sparse.hpp>
#include <boost/numeric/ublas/operation.hpp>
#include <boost/numeric/ublas/io.hpp>
and typedef's
typedef boost::numeric::ublas::matrix<double, boost::numeric::ublas::row_major>
Matrix;
typedef boost::numeric::ublas::symmetric_matrix<double,
boost::numeric::ublas::lower, boost::numeric::ublas::row_major>
SymetricMatrix;
typedef boost::numeric::ublas::compressed_matrix<double,
boost::numeric::ublas::row_major> SparseMatrix;
typedef boost::numeric::ublas::vector<double> Vector;
typedef std::vector<Vector> Base;
working with boost 1.32 is o.k. but with 1.33 i get the assertion error:
Assertion failed in file
/usr/local/include/boost-1_33/boost/numeric/ublas/matrix.hpp at line 2556:
it_ < (*this) ().size_common_
EXCEPTION: bad index
what could be the problem ????
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.