|
Boost-Commit : |
From: guwi17_at_[hidden]
Date: 2007-11-25 08:34:21
Author: guwi17
Date: 2007-11-25 08:34:20 EST (Sun, 25 Nov 2007)
New Revision: 41353
URL: http://svn.boost.org/trac/boost/changeset/41353
Log:
- fix and close #1237
- symmetric resize used wrong internal resize method
-- Dese und die folgenden Zeilen werden ignoriert --
M symmetric.hpp
Text files modified:
trunk/boost/numeric/ublas/symmetric.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/boost/numeric/ublas/symmetric.hpp
==============================================================================
--- trunk/boost/numeric/ublas/symmetric.hpp (original)
+++ trunk/boost/numeric/ublas/symmetric.hpp 2007-11-25 08:34:20 EST (Sun, 25 Nov 2007)
@@ -14,6 +14,7 @@
#define _BOOST_UBLAS_SYMMETRIC_
#include <boost/numeric/ublas/matrix.hpp>
+#include <boost/numeric/ublas/triangular.hpp>
#include <boost/numeric/ublas/detail/temporary.hpp>
// Iterators based on ideas of Jeremy Siek
@@ -121,7 +122,7 @@
void resize (size_type size, bool preserve = true) {
if (preserve) {
self_type temporary (size, size);
- detail::matrix_resize_preserve<layout_type> (*this, temporary);
+ detail::matrix_resize_preserve<layout_type, triangular_type> (*this, temporary);
}
else {
data ().resize (triangular_type::packed_size (layout_type (), size, size));
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk