Neal Becker
2010-05-17 12:57:37 UTC
This code:
template<typename in_t>
typename boost::range_value<in_t>::type operator() (in_t const& x, double
tau) {
pyublas::numpy_vector<double> coef = lagrange (tau, order);
return ublas::inner_prod (coef, x); <<< problem here
}
};
when compiled with -DBOOST_USE_ITERATING is causing:
/usr/local/src/boost.hg/boost/numeric/ublas/vector_proxy.hpp:237: error: no
matching function for call to
'pyublas::detail::numpy_strided_vec_iterator<const std::complex<double>
BOOST_UBLAS_INLINE
const_iterator find (size_type i) const {
const_subiterator_type it (data_.find (start () + i)); << problem
is here
template<typename in_t>
typename boost::range_value<in_t>::type operator() (in_t const& x, double
tau) {
pyublas::numpy_vector<double> coef = lagrange (tau, order);
return ublas::inner_prod (coef, x); <<< problem here
}
};
when compiled with -DBOOST_USE_ITERATING is causing:
/usr/local/src/boost.hg/boost/numeric/ublas/vector_proxy.hpp:237: error: no
matching function for call to
'pyublas::detail::numpy_strided_vec_iterator<const std::complex<double>
::numpy_strided_vec_iterator(boost::numeric::ublas::vector_slice<pyublas::numpy_vector<std::complex<double>
// Element lookup::const_iterator)'
BOOST_UBLAS_INLINE
const_iterator find (size_type i) const {
const_subiterator_type it (data_.find (start () + i)); << problem
is here