Commit 6e6e4d9e authored by David Bommes's avatar David Bommes

fixed eigen vector alignment

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@113 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent ce22774a
......@@ -13,7 +13,8 @@
#include <CoMISo/Config/CoMISoDefines.hh>
#include "NConstraintInterface.hh"
#include <gmm/gmm.h>
#include <Eigen/StdVector>
//== FORWARDDECLARATIONS ======================================================
......@@ -35,8 +36,7 @@ class COMISODLLEXPORT LinearConstraint : public NConstraintInterface
{
public:
// use c-arrays as vectors for gmm
typedef gmm::array1D_reference<double*> 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
//=============================================================================
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment