From a4001afdb9508854e2d8f51f12f2a57e8517c38b Mon Sep 17 00:00:00 2001 From: Tobias Hienzsch Date: Sun, 29 Sep 2024 21:57:20 +0200 Subject: [PATCH] [cpp] Fix macOS EngineMETAL2D build --- src/cpp/pffdtd/engine_metal_2d.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cpp/pffdtd/engine_metal_2d.hpp b/src/cpp/pffdtd/engine_metal_2d.hpp index 91af423..ee1f54d 100644 --- a/src/cpp/pffdtd/engine_metal_2d.hpp +++ b/src/cpp/pffdtd/engine_metal_2d.hpp @@ -14,7 +14,9 @@ namespace pffdtd { struct EngineMETAL2D { - [[nodiscard]] auto operator()(Simulation2D const& sim) const -> stdex::mdarray>; + + [[nodiscard]] auto operator()(Simulation2D const& sim, Precision precision) const + -> stdex::mdarray>; }; } // namespace pffdtd