Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
kordejong committed Dec 2, 2024
1 parent 6e7c1db commit 8dc1eca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/framework/python/src/numpy/from_numpy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ namespace lue::framework {
namespace {

template<typename Element>
pybind11::object from_numpy_py(
auto from_numpy_py(
pybind11::array_t<Element> const& array,
std::optional<pybind11::tuple> const& partition_shape,
std::optional<Element> const& no_data_value)
std::optional<Element> const& no_data_value) -> pybind11::object
{
// NOTE: For now we assume
// - All arrays have rank 2
Expand Down

0 comments on commit 8dc1eca

Please sign in to comment.