diff --git a/include/boost/numeric/ublas/vector_sparse.hpp b/include/boost/numeric/ublas/vector_sparse.hpp index 25e99858..7719d686 100644 --- a/include/boost/numeric/ublas/vector_sparse.hpp +++ b/include/boost/numeric/ublas/vector_sparse.hpp @@ -38,12 +38,14 @@ namespace boost { namespace numeric { namespace ublas { typedef value_type *pointer; typedef value_type &reference; - // Construction and destruction + /* FIXME Why was this function provided to generate a runtime error? + * without the incorrect conversion is a compiletime error! BOOST_UBLAS_INLINE sparse_vector_element (const value_type &d): container_reference (), i_ (), d_ (d), dirty_ (false) { external_logic ().raise (); - } + }*/ + // Construction and destruction sparse_vector_element (vector_type &v, size_type i): container_reference (v), i_ (i), d_ (), dirty_ (false) { pointer it = (*this) ().find_element (i_);