Skip to content

Commit

Permalink
πŸ› Windows bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
fbriol committed Oct 21, 2023
1 parent c4f190a commit c8ccca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyinterp/core/include/pyinterp/fill.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ void matrix(pybind11::EigenDRef<Matrix<T>> x, const T &fill_value) {
template <typename T>
auto vector(Eigen::Ref<Vector<T>> array, const T &fill_value) {
Vector<bool> mask;
if (std::isnan(fill_value)) {
if (detail::math::Fill<T>::is(fill_value)) {
mask = Eigen::isnan(array.array());
} else {
mask = array.array() == fill_value;
Expand Down

0 comments on commit c8ccca7

Please sign in to comment.