$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Golan Green (ggreen_at_[hidden])
Date: 2005-04-21 03:11:48
Hi,
I am trying to use sparse matrix iterators, but it seems that a code that
works in VC++ 6.0 does not compile under C++ in .NET
I tried a simplified version of the code and it still does not work.
boost::numeric::ublas::sparse_matrix<int> matrix;
boost::numeric::ublas::sparse_matrix<int>::iterator1 it1 = matrix.begin1();
boost::numeric::ublas::sparse_matrix<int>::iterator2 it2 = it1.begin();
The error message that I get is :
error C2039: 'begin' : is not a member
of 'boost::numeric::ublas::sparse_matrix<T>::iterator1'
with
[
T=int
]
off course begin() is one of the iterator1 member functions.
Does anyone have an idea of what is missing in the project settings?
Regards, Golan.
--