Skip to content
Snippets Groups Projects
Unverified Commit 27e79953 authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #152 from jcarpent/devel

Fix issues for Windows
parents a6af5709 3607ba21
No related branches found
No related tags found
No related merge requests found
......@@ -51,10 +51,7 @@ BOOST_PYTHON_MODULE(eigenpy)
"Returns True if A is approximately equal to B, within the precision determined by prec.");
bp::def("is_approx",(bool (*)(const MatrixXd &, const MatrixXd &))&is_approx<MatrixXd,MatrixXd>,
bp::args("A","B"),
"Returns True if A is approximately equal to B..");
// EXPOSE_IS_APPROX(MatrixXd);
// EXPOSE_IS_APPROX(MatrixXf);
"Returns True if A is approximately equal to B.");
}
exposeDecompositions();
......
......@@ -5,6 +5,8 @@
#include <boost/python.hpp>
#include <Eigen/Core>
#include "eigenpy/decompositions/decompositions.hpp"
#include "eigenpy/decompositions/EigenSolver.hpp"
#include "eigenpy/decompositions/SelfAdjointEigenSolver.hpp"
#include "eigenpy/decompositions/LLT.hpp"
......@@ -17,13 +19,12 @@ namespace eigenpy
using namespace Eigen;
namespace bp = boost::python;
EigenSolverVisitor<Eigen::MatrixXd>::expose("EigenSolver");
SelfAdjointEigenSolverVisitor<Eigen::MatrixXd>::expose("SelfAdjointEigenSolver");
LLTSolverVisitor<Eigen::MatrixXd>::expose("LLT");
LDLTSolverVisitor<Eigen::MatrixXd>::expose("LDLT");
EigenSolverVisitor<MatrixXd>::expose("EigenSolver");
SelfAdjointEigenSolverVisitor<MatrixXd>::expose("SelfAdjointEigenSolver");
LLTSolverVisitor<MatrixXd>::expose("LLT");
LDLTSolverVisitor<MatrixXd>::expose("LDLT");
{
using namespace Eigen;
bp::enum_<DecompositionOptions>("DecompositionOptions")
.value("ComputeFullU",ComputeFullU)
.value("ComputeThinU",ComputeThinU)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment