Skip to content

Commit 36b532b

Browse files
authored
Merge branch 'devel' into ext_suffix
2 parents c975034 + 3e66def commit 36b532b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ SET(${PROJECT_NAME}_SOURCES
122122

123123
ADD_LIBRARY(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_SOURCES} ${${PROJECT_NAME}_HEADERS})
124124
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SUFFIX "${PYTHON_EXT_SUFFIX}")
125+
TARGET_COMPILE_OPTIONS(${PROJECT_NAME} PRIVATE $<$<CXX_COMPILER_ID:MSVC>:-bigobj>)
125126

126127
TARGET_LINK_BOOST_PYTHON(${PROJECT_NAME})
127128
PKG_CONFIG_USE_DEPENDENCY(${PROJECT_NAME} eigen3)

include/eigenpy/quaternion.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ namespace eigenpy
102102
/* --- Methods --- */
103103
.def("coeffs",(const Vector4 & (Quaternion::*)()const)&Quaternion::coeffs,
104104
bp::return_value_policy<bp::copy_const_reference>())
105-
.def("matrix",&Quaternion::matrix,"Returns an equivalent rotation matrix")
106-
.def("toRotationMatrix ",&Quaternion::toRotationMatrix,"Returns an equivalent 3x3 rotation matrix.")
105+
.def("matrix",&Quaternion::matrix,"Returns an equivalent 3x3 rotation matrix. Similar to toRotationMatrix.")
106+
.def("toRotationMatrix",&Quaternion::toRotationMatrix,"Returns an equivalent 3x3 rotation matrix.")
107107

108108
.def("setFromTwoVectors",&setFromTwoVectors,((bp::arg("a"),bp::arg("b"))),"Set *this to be the quaternion which transform a into b through a rotation."
109109
,bp::return_self<>())

0 commit comments

Comments
 (0)