Skip to content

Commit

Permalink
potentially real dumb fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahm-LANL committed Apr 19, 2024
1 parent 4ea36aa commit b2ae8aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/module.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Real two_params(const T& self, const Real a, const Real b, py::array_t<Real> lam

template<typename T, PORTABLE_FUNCTION Real(T::*Func)(const Real, const Real, Real*&&) const>
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<Real*>(nullptr));
}

class LambdaHelper {
Expand Down

0 comments on commit b2ae8aa

Please sign in to comment.