Skip to content

Commit

Permalink
fix int -> ssize_t
Browse files Browse the repository at this point in the history
  • Loading branch information
havogt committed Jun 13, 2024
1 parent 516ef95 commit 18c902c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/gridtools/storage/adapter/nanobind_adapter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace gridtools {

// Use `-1` for dynamic stride, use an integral value for static stride.
template <nanobind::ssize_t... Values>
using stride_spec = std::integer_sequence<int, Values...>;
using stride_spec = std::integer_sequence<nanobind::ssize_t, Values...>;

template <class IndexSequence>
struct dynamic_strides_helper;
Expand Down

0 comments on commit 18c902c

Please sign in to comment.