[Bug 620] New: Missing include in solver

For more infomation about this bug, visit <https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=620>
Summary: Missing include in solver
Product: KDL
Version: kdl-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Kinematic chains
AssignedTo: orocos-dev [..] ...
ReportedBy: meeussen [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

The TreeIkSolverVel directly depends on boost symmetric matrix, but does not
include the correct header. This problem showed up when I was playing with the
inertia object (which includes the same header).

Wim

[meeussen@ads ~/kul/kdl]
$ svn diff src/TreeIkSolverVel_wdls.cpp
Index: src/TreeIkSolverVel_wdls.cpp
===================================================================
--- src/TreeIkSolverVel_wdls.cpp (revision 29939)
+++ src/TreeIkSolverVel_wdls.cpp (working copy)
@@ -7,9 +7,11 @@

#include "TreeIkSolverVel_wdls.hpp"
#include "utilities/svd_boost_HH.hpp"
+#include <boost/numeric/ublas/symmetric.hp

namespace KDL {
using namespace std;
+using namespace boost::numeric::ublas;

TreeIkSolverVel_wdls::TreeIkSolverVel_wdls(const Tree& tree_in, std::vector<
std::string> endpoints) :

Ruben Smits's picture

[Bug 620] Missing include in solver

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

Ruben Smits <ruben [dot] smits [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
CC| |ruben [dot] smits [..] ...

--- Comment #1 from Ruben Smits <ruben [dot] smits [..] ...> 2009-02-11 13:30:37 ---
svn ci -m "Fixed Bug 620: Missing include in solver, thanks Wim for the patch"
Sending src/TreeIkSolverVel_wdls.cpp
Transmitting file data .
Committed revision 29945.