From 619148e5bde9bed201853e54fda5a44726431aa5 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Thu, 31 Aug 2023 10:16:39 -0400 Subject: [PATCH] we don't need NUM_EXTRA_SPECIES in the preprocessor we already have it as a constexpr --- networks/general_null/network_header.template | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/networks/general_null/network_header.template b/networks/general_null/network_header.template index 0a7c3ecec1..949863298a 100644 --- a/networks/general_null/network_header.template +++ b/networks/general_null/network_header.template @@ -23,9 +23,7 @@ constexpr int NumSpec = @@NSPEC@@; -#define NUM_EXTRA_SPECIES @@NEXTRASPEC@@ - -constexpr int NumSpecExtra = NUM_EXTRA_SPECIES; +constexpr int NumSpecExtra = @@NEXTRASPEC@@; constexpr int NumSpecTotal = NumSpec + NumSpecExtra;