ublas::vector<double> y(10,1);
std::cout << blas::nrm2(y) << std::endl;
return EXIT_SUCCESS;
}
numeric_bindings/boost/numeric/bindings/detail/property_map.hpp: In instantiation of ‘boost::numeric::bindings::detail::property_at<boost::numeric::ublas::vector<double, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >, boost::numeric::bindings::tag::value_type>’:
numeric_bindings/boost/numeric/bindings/value_type.hpp:20: instantiated from ‘boost::numeric::bindings::value_type<boost::numeric::ublas::vector<double, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > > >’
main.cpp:56: instantiated from here
numeric_bindings/boost/numeric/bindings/detail/property_map.hpp:30: error: no type named ‘property_map’ in ‘struct boost::numeric::bindings::detail::adaptor_access<boost::numeric::ublas::vector<double, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >, void>’
main.cpp: In function ‘int main(int, char**)’:
main.cpp:56: error: no matching function for call to ‘nrm2(boost::numeric::ublas::vector<double, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >&)’
I try to do a new checkout of the svn version of the numerical bindings, but it creates the errors.
Can anyone help me please? Thanks a lot
Phil