From b580742a2dce2df35b9c5282dc08fe387ad3f798 Mon Sep 17 00:00:00 2001 From: Tobias Hienzsch Date: Sun, 29 Sep 2024 22:35:19 +0200 Subject: [PATCH] [cpp] More Metal macOS fixes --- src/cpp/pffdtd/engine_metal_3d.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/pffdtd/engine_metal_3d.mm b/src/cpp/pffdtd/engine_metal_3d.mm index 7a0e157..66cfcba 100644 --- a/src/cpp/pffdtd/engine_metal_3d.mm +++ b/src/cpp/pffdtd/engine_metal_3d.mm @@ -287,7 +287,7 @@ auto run(Simulation3D const& sim) { } // namespace auto EngineMETAL3D::operator()(Simulation3D const& sim) const -> void { - PFFDTD_ASSERT(precision == Precision::Float); + PFFDTD_ASSERT(sim.precision == Precision::Float); run(sim); }