File tree Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Expand file tree Collapse file tree 2 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -62,16 +62,16 @@ FIND_NUMPY()
6262
6363IF (WIN32 )
6464 LINK_DIRECTORIES (${PYTHON_LIBRARY_DIRS} )
65- # Set default Windows build paths
66- SET (CMAKE_LIBRARY_OUTPUT_DIRECTORY
67- ${PROJECT_BINARY_DIR} /Bin
68- CACHE PATH "Single directory for all libraries" )
69- SET (CMAKE_RUNTIME_OUTPUT_DIRECTORY
70- ${PROJECT_BINARY_DIR} /Bin
71- CACHE PATH "Single directory for all executables" )
72- SET (CMAKE_ARCHIVE_OUTPUT_DIRECTORY
73- ${PROJECT_BINARY_DIR} /Bin
74- CACHE PATH "Sing$le directory for all archives" )
65+ # # Set default Windows build paths
66+ # SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY
67+ # ${PROJECT_BINARY_DIR}/Bin
68+ # CACHE PATH "Single directory for all libraries")
69+ # SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY
70+ # ${PROJECT_BINARY_DIR}/Bin
71+ # CACHE PATH "Single directory for all executables")
72+ # SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY
73+ # ${PROJECT_BINARY_DIR}/Bin
74+ # CACHE PATH "Sing$le directory for all archives")
7575ENDIF (WIN32 )
7676
7777# ----------------------------------------------------
Original file line number Diff line number Diff line change 99#include " eigenpy/numpy-type.hpp"
1010#include " eigenpy/register.hpp"
1111
12+ #include < iostream>
13+
1214namespace eigenpy
1315{
1416 // / \brief Default cast algo to cast a From to To. Can be specialized for any types.
@@ -256,6 +258,11 @@ namespace eigenpy
256258 assert (to_typenum >= 0 && " to_typenum is not valid" );
257259 assert (from_array_descr != NULL && " from_array_descr is not valid" );
258260
261+ std::cout << " From: " << bp::type_info (typeid (From)).name () << " " << Register::getTypeCode<From>()
262+ << " to: " << bp::type_info (typeid (To)).name () << " " << Register::getTypeCode<To>()
263+ << " \n to_typenum: " << to_typenum
264+ << std::endl;
265+
259266 if (call_PyArray_RegisterCastFunc (from_array_descr,
260267 to_typenum,
261268 static_cast <PyArray_VectorUnaryFunc *>(&eigenpy::internal::cast<From,To>)) < 0 )
You can’t perform that action at this time.
0 commit comments