Index: banded.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/numeric/ublas/banded.hpp,v retrieving revision 1.51 diff -u -p -r1.51 banded.hpp --- banded.hpp 8 May 2005 16:40:44 -0000 1.51 +++ banded.hpp 12 Jul 2005 02:28:54 -0000 @@ -965,6 +965,9 @@ namespace boost { namespace numeric { na diagonal_matrix (size_type size): matrix_type (size, size) {} BOOST_UBLAS_INLINE + diagonal_matrix (size_type size, const A& a): + matrix_type (size, size, 0, 0, a) {} + BOOST_UBLAS_INLINE diagonal_matrix (size_type size1, size_type size2): matrix_type (size1, size2) {} template