From 6e6e4d9e22477ef4d28ef451a2605e8a602c752d Mon Sep 17 00:00:00 2001 From: David Bommes Date: Mon, 9 Jan 2012 10:53:02 +0000 Subject: [PATCH] fixed eigen vector alignment git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@113 1355f012-dd97-4b2f-ae87-10fa9f823a57 --- CoMISo/NSolver/LinearConstraint.hh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CoMISo/NSolver/LinearConstraint.hh b/CoMISo/NSolver/LinearConstraint.hh index c1b847f..5bf0d65 100644 --- a/CoMISo/NSolver/LinearConstraint.hh +++ b/CoMISo/NSolver/LinearConstraint.hh @@ -13,7 +13,8 @@ #include #include "NConstraintInterface.hh" -#include +#include + //== FORWARDDECLARATIONS ====================================================== @@ -35,8 +36,7 @@ class COMISODLLEXPORT LinearConstraint : public NConstraintInterface { public: - // use c-arrays as vectors for gmm - typedef gmm::array1D_reference VectorPT; + // sparse vector type typedef NConstraintInterface::SVectorNC SVectorNC; // different types of constraints @@ -80,12 +80,12 @@ private: }; -// support std vectors -EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(LinearConstraint); - //============================================================================= } // namespace COMISO //============================================================================= +// support std vectors +EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(COMISO::LinearConstraint); +//============================================================================= #endif // ACG_LINEARCONSTRAINT_HH defined //============================================================================= -- GitLab