From 94b016d2ac0243dc3cb06f10daf4704b827c7c9a Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Tue, 12 Sep 2023 12:28:02 -0400 Subject: [PATCH] we don't need NUM_EXTRA_SPECIES in the preprocessor (#1321) 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;