Subject: [Boost-bugs] Bug in boost ublas coordinate_matrix
From: Uwe Nowak (mail_at_[hidden])
Date: 2009-08-25 09:56:17
There seems to be a bug in the uBLAS coordinate matrix.
By documnetation it should be possible to add elements in arbitrary
order. However the following example shows a problem (Running on
Visual Studio 2008).
By debugging I figured out that, when an operation is performed,
internally the sort method is called and does some strange things. In
this example this happens only in the debug mode, as then the sort
method is called by a macro.
std::cout << m << std::endl;
Ausgabe im Release-Mode: [2,3]((2,4,0),(0,0,0))
Ausgabe im Debug-Mode: [2,3]((4,0,0),(0,0,0))
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC