Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-10-02 10:59:39


There's an ambiguous overload on SGI with ublas (although it works with gcc,
icc and vacpp). Also specifying explicitly that here I'm working on a _const_
matrix (see last line) did not help. So I'm guessing that this is a
compiler-problem instead of a coding-problem.

cc-1282 CC: ERROR File = /home/fft/tk//femtown/modules/field/patch.hpp, Line
= 183
  More than one instance of overloaded function "boost::numeric::ublas::row"
          matches the argument list.

            Function symbol function template
                      "boost::numeric::ublas::row(M &, size_t)" is ambiguous
                      by inheritance.
            Function symbol function template
                      "boost::numeric::ublas::row(const M &, size_t)" is
                      ambiguous by inheritance.
            The argument types are: (const
                      boost::numeric::ublas::matrix<FEMTown::Real,
                      boost::numeric::ublas::row_major,
                      boost::numeric::ublas::unbounded_array<FEMTown::Real>>,
                      FEMTown::Field::Patch<FEMTown::Real>::size_type).
      { for(size_type i = 0 ; begin != end ; ++begin, ++i ) set( *begin,
numerics::row< const MatrixType >( matrix, i ) ) ; }


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk