Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Copyright (c) 2014-2019 CNRS
# Copyright (c) 2018-2020 INRIA
# Copyright (c) 2018-2021 INRIA
#

CMAKE_MINIMUM_REQUIRED(VERSION 3.1)
Expand Down Expand Up @@ -163,6 +163,7 @@ SET(${PROJECT_NAME}_SOURCES
src/matrix-double.cpp
src/matrix-long-double.cpp
src/matrix-complex-long-double.cpp
src/matrix-bool.cpp
src/matrix-int.cpp
src/matrix-long.cpp
src/angle-axis.cpp
Expand Down
4 changes: 3 additions & 1 deletion src/eigenpy.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright 2014-2019, CNRS
* Copyright 2018-2020, INRIA
* Copyright 2018-2021, INRIA
*/

#include "eigenpy/eigenpy.hpp"
Expand All @@ -14,6 +14,7 @@ namespace eigenpy
srand(seed_value);
}

void exposeMatrixBool();
void exposeMatrixInt();
void exposeMatrixLong();
void exposeMatrixFloat();
Expand Down Expand Up @@ -59,6 +60,7 @@ namespace eigenpy
bp::def("seed",&seed,bp::arg("seed_value"),
"Initialize the pseudo-random number generator with the argument seed_value.");

exposeMatrixBool();
exposeMatrixInt();
exposeMatrixLong();
exposeMatrixFloat();
Expand Down
14 changes: 14 additions & 0 deletions src/matrix-bool.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* Copyright 2021 INRIA
*/

#include "eigenpy/eigenpy.hpp"

namespace eigenpy
{
void exposeMatrixBool()
{
exposeType<bool>();
exposeType<bool,Eigen::RowMajor>();
}
}