From 2ca16ac3a575eec020563e95a3710092afd5bfd7 Mon Sep 17 00:00:00 2001 From: "Eric G. Kratz" Date: Thu, 3 Oct 2024 11:19:51 -0400 Subject: [PATCH] Fix a type issue for windows (#4486) --- src/pybamm/solvers/c_solvers/idaklu/observe.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pybamm/solvers/c_solvers/idaklu/observe.hpp b/src/pybamm/solvers/c_solvers/idaklu/observe.hpp index e8dc432240..52a0cfdf84 100644 --- a/src/pybamm/solvers/c_solvers/idaklu/observe.hpp +++ b/src/pybamm/solvers/c_solvers/idaklu/observe.hpp @@ -9,6 +9,11 @@ #include using std::vector; +#if defined(_MSC_VER) + #include + typedef SSIZE_T ssize_t; +#endif + /** * @brief Observe and Hermite interpolate ND variables */