Re: [uBlas] Problem with matrix_range

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [uBlas] Problem with matrix_range

Bugzilla from geneing@yahoo.com
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 mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-users