Re: LAPACK bindings error

Rutger ter Borg <[email protected]>
Newsgroups gmane.comp.lib.boost.ublas
Message-ID <[email protected]>
On 2014-03-21 23:48, dmitrypek wrote:
> Hello,
>
> I would like to solve a linear system of equations Ax=b, using LAPACK
> bindings.
> I have installed the sandbox package and followed the examples I found on
> the Web.
> I get the following error when compiling:
>
> boost/numeric/bindings/detail/property_map.hpp:30:85:
> error: no type named 'property_map' in 'struct
> boost::numeric::bindings::detail::adaptor_access<boost::numeric::ublas::matrix&lt;double>,
> void>'  typedef typename mpl::at< typename adaptor_access<T>::property_map,
> Key >::type type;
>
> I would appreciate any ideas on what I can do.
> Thanks.
>
>

You are missing an include for binding ublas' matrices,

#include <boost/numeric/bindings/ublas/matrix.hpp>

Regards,

Rutger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.