From 0619ffefa326a20452faf938ca1db8b7329d0035 Mon Sep 17 00:00:00 2001 From: David Bold Date: Fri, 8 Nov 2024 15:24:20 +0100 Subject: [PATCH] Fix #if guard --- src/mesh/parallel/fci.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesh/parallel/fci.cxx b/src/mesh/parallel/fci.cxx index eca119b9c5..758b26a377 100644 --- a/src/mesh/parallel/fci.cxx +++ b/src/mesh/parallel/fci.cxx @@ -58,7 +58,7 @@ std::string parallel_slice_field_name(std::string field, int offset) { return direction + "_" + field + slice_suffix; }; -#if BOUT_USE_METRIC3D +#if BOUT_USE_METRIC_3D bool load_parallel_metric_component(std::string name, Field3D& component, int offset, bool doZero) { Mesh* mesh = component.getMesh(); @@ -105,7 +105,7 @@ bool load_parallel_metric_component(std::string name, Field3D& component, int of #endif void load_parallel_metric_components([[maybe_unused]] Coordinates* coords, [[maybe_unused]] int offset){ -#if BOUT_USE_METRIC3D +#if BOUT_USE_METRIC_3D #define LOAD_PAR(var, doZero) \ load_parallel_metric_component(#var, coords->var, offset, doZero) LOAD_PAR(g11, false);