Skip to content

Commit

Permalink
Fix previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
edopao committed Jun 4, 2024
1 parent 74a8647 commit f4aece4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/gridtools/storage/adapter/python_sid_adapter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ namespace gridtools {
// direct format comparison in not enough, for details see
// https://github.com/pybind/pybind11/issues/1806 and https://github.com/pybind/pybind11/issues/1908
// ignore this check for boolean type
if (std::islower(*int_char) != std::islower(*expected_int_char) && std::islower(*int_char) != 'b')
if (std::islower(*int_char) != std::islower(*expected_int_char) && std::tolower(*int_char) != 'b')
throw std::domain_error("incompatible integer formats: " + info.format + " and " + expected_format);
} else if (info.format != expected_format) {
throw std::domain_error(
Expand Down

0 comments on commit f4aece4

Please sign in to comment.