Boost logo

Ublas :

Subject: Re: [ublas] [bindings] New traits system
From: Jesse (jesseperla_at_[hidden])
Date: 2010-01-11 11:11:01


Rutger ter Borg <rutger <at> terborg.net> writes:

> I've updated the generator and committed the updated gelsd.
>
gelsd now works for me with no changes.

But there has been a regression with trtri. I am now getting:

1>C:\working\libraries\boost_sandbox\boost/numeric/bindings/lapack/computational
/getri.hpp(233): error: no instance of overloaded function
"boost::numeric::bindings::lapack::detail::getri" matches the argument list
1> argument types are: (ptrdiff_t, double *, ptrdiff_t, const int *,
double *, int)
1> detail::getri( size_column(a), begin_value(a), stride_major(a),
1> ^
1> detected during:
1> instantiation of "ptrdiff_t={int}
boost::numeric::bindings::lapack::getri_impl<Value,
boost::enable_if<boost::numeric::bindings::is_real<T>,
void>::type>::invoke(MatrixA &, const VectorIPIV &,
boost::numeric::bindings::lapack::optimal_workspace) [with Value=double,
MatrixA=boost::numeric::ublas::matrix<double,
boost::numeric::ublas::column_major,
boost::numeric::ublas::unbounded_array<double, std::allocator<double>>>,
VectorIPIV=std::vector<int, std::allocator<int>>]" at line 353
1> instantiation of "ptrdiff_t={int}
boost::numeric::bindings::lapack::getri(MatrixA &, const VectorIPIV &) [with
MatrixA=boost::numeric::ublas::matrix<double,
boost::numeric::ublas::column_major,
boost::numeric::ublas::unbounded_array<double, std::allocator<double>>>,
VectorIPIV=std::vector<int, std::allocator<int>>]" at line 122 of
"C:\working\libraries\etk\tests\linear_algebra\bindings\test_ublas_bindings.cpp"