Boost logo

Boost Users :

From: Eugene Ingerman (geneing_at_[hidden])
Date: 2006-01-13 17:17:32


Hello,

The following code (taken from documentation btw):
    matrix<double> mm (3, 3);
    matrix_range<matrix<double> > mr(mm, range (0, 3),
range (0, 3));

gives the following error:

dofft.cpp:77: error:variable
˜boost::numeric::ublas::matrix_range<boost::numeric::ublas::matrix<double,
boost::numeric::ublas::basic_row_major<size_t,
ptrdiff_t>,
boost::numeric::ublas::unbounded_array<double,
std::allocator<double> >
> > mr has initializer but incomplete type

I have boost 1.33 and compile with gcc 4.0.2. What am
I doing
wrong? Thanks,
E

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net