From e57fca88ecfe5fdcb051d204b736efa201462392 Mon Sep 17 00:00:00 2001 From: Gunter Winkler Date: Sun, 25 Nov 2007 13:34:20 +0000 Subject: [PATCH] - fix and close #1237 - symmetric resize used wrong internal resize method -- Dese und die folgenden Zeilen werden ignoriert -- M symmetric.hpp --- include/boost/numeric/ublas/symmetric.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/numeric/ublas/symmetric.hpp b/include/boost/numeric/ublas/symmetric.hpp index ef31e122..0ebbe639 100644 --- a/include/boost/numeric/ublas/symmetric.hpp +++ b/include/boost/numeric/ublas/symmetric.hpp @@ -14,6 +14,7 @@ #define _BOOST_UBLAS_SYMMETRIC_ #include +#include #include // Iterators based on ideas of Jeremy Siek @@ -121,7 +122,7 @@ namespace boost { namespace numeric { namespace ublas { void resize (size_type size, bool preserve = true) { if (preserve) { self_type temporary (size, size); - detail::matrix_resize_preserve (*this, temporary); + detail::matrix_resize_preserve (*this, temporary); } else { data ().resize (triangular_type::packed_size (layout_type (), size, size));