[Bug 444] Resizing of SymmetricMatrix fails for BOOST

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=444>

--- Comment #3 from Klaas Gadeyne <klaas.gadeyne@fmtc.be>  2008-02-10 11:24:10 ---

(In reply to comment #2)
> It seems to me that this is a bug in boost or a mistake in using boost.
> I posted a message on the Boost-users and Boost-ublas mailing list concerning
> this problem.

See <http://svn.boost.org/trac/boost/ticket/1237>

This should be fixed in boost 1.35.0

I recalled this bug since all my tests succeeded while I didn't expect them to
be. Shouldn't we uncomment this?

klaas@ /SVN/bfl-trunk$
$ svn diff tests/matrixwrapper_test.cpp
Index: tests/matrixwrapper_test.cpp
===================================================================

--- tests/matrixwrapper_test.cpp        (revision 28935)
+++ tests/matrixwrapper_test.cpp        (working copy)
@@ -188,10 +188,10 @@
   SymmetricMatrix Ks_resize(r); Ks_resize = v;
   CPPUNIT_ASSERT_EQUAL(Ks.rows(), r+2);
   CPPUNIT_ASSERT_EQUAL(Ks.columns(), r+2);
-//  Ks.resize(r);
-//  CPPUNIT_ASSERT_EQUAL(Ks.rows(), r);
-//  CPPUNIT_ASSERT_EQUAL(Ks.columns(), r);
-//  CPPUNIT_ASSERT_EQUAL(Ks, Ks_resize);
+  Ks.resize(r);
+  CPPUNIT_ASSERT_EQUAL(Ks.rows(), r);
+  CPPUNIT_ASSERT_EQUAL(Ks.columns(), r);
+  CPPUNIT_ASSERT_EQUAL(Ks, Ks_resize);
   // COLUMNVECTOR
   ColumnVector Kc(r+2); Kc = v;
   ColumnVector Kc_resize(r); Kc_resize = v;

I suggest to close this bug, since this is clearly not a BFL issue.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

[Bug 444] Resizing of SymmetricMatrix fails for BOOST

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=444>

Tinne De Laet <tinne.delaet@mech.kuleuven.be> changed:

           What    |Removed                     |Added
 --------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
--- Comment #4 from Tinne De Laet <tinne.delaet@mech.kuleuven.be>  2008-02-11 08:54:37 ---

> I recalled this bug since all my tests succeeded while I didn't expect them to
> be. Shouldn't we uncomment this?

Done:

Sending tests/matrixwrapper_test.cpp
Transmitting file data .
Committed revision 28938.

> I suggest to close this bug, since this is clearly not a BFL issue.
Ok.
Bug closed.

Tinne