From b2ae8aa7ef10291b968df3305e0c69250813a6c5 Mon Sep 17 00:00:00 2001 From: Jonah Maxwell Miller Date: Fri, 19 Apr 2024 16:06:05 -0600 Subject: [PATCH] potentially real dumb fix --- python/module.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/module.hpp b/python/module.hpp index d2feb36ec8..603d70a68b 100644 --- a/python/module.hpp +++ b/python/module.hpp @@ -34,7 +34,7 @@ Real two_params(const T& self, const Real a, const Real b, py::array_t lam template Real two_params_no_lambda(const T& self, const Real a, const Real b) { - return (self.*Func)(a, b, nullptr); + return (self.*Func)(a, b, static_cast(nullptr)); } class LambdaHelper {