Boost logo

Ublas :

From: Sorkin Dima (dsorkin_at_[hidden])
Date: 2007-03-24 11:30:11

  I have a problem with some uBLAS (boost 1.33)
based code, when I work with MIPSpro 7.4.3m or
and GCC on SGI platform.

(on other platforms
G++ -pedantic -Wall accepts that code without warnings,
and on SGI platform my other pieces of code are accepted, as
long as I don't get to that example)

The code is below, error messages are attached.

May someone take a glance ?

Thank you,


namespace ublas = boost::numeric::ublas;

int main(){

   ublas::matrix<double> M(2,2),Q(2,2);
   ublas::row(M,1); // ok

   ublas::matrix_range< ublas::matrix<double> >

   ublas::row(R,1); // ok

   ublas::axpy_prod(M,R,Q); // fails

   return 0;