Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarpent committed Jan 26, 2024
1 parent 359ae03 commit 3a5b1f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/eigenpy/numpy-type.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <sstream>
#include <stdexcept>
#include <typeinfo>
#include <iostream>

#include "eigenpy/fwd.hpp"
#include "eigenpy/register.hpp"
Expand All @@ -17,6 +18,7 @@ namespace eigenpy {

template <typename Scalar>
bool np_type_is_convertible_into_scalar(const int np_type) {
std::cout << "np_type: " << np_type << std::endl;
if (static_cast<NPY_TYPES>(NumpyEquivalentType<Scalar>::type_code) >=
NPY_USERDEF)
return np_type == Register::getTypeCode<Scalar>();
Expand Down

0 comments on commit 3a5b1f6

Please sign in to comment.