From 9501625cb5beb1abbe062b0e180533e735e4ebd3 Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Wed, 31 Jan 2024 20:46:39 -0700 Subject: [PATCH] Fix test_eos_modifiers.cpp --- test/test_eos_modifiers.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_eos_modifiers.cpp b/test/test_eos_modifiers.cpp index 2cc1a72d00f..09c52ecdfc0 100644 --- a/test/test_eos_modifiers.cpp +++ b/test/test_eos_modifiers.cpp @@ -20,6 +20,10 @@ #include #include +#ifdef SINGULARITY_BUILD_CLOSURE +#include +#endif + #ifndef CATCH_CONFIG_FAST_COMPILE #define CATCH_CONFIG_FAST_COMPILE #include @@ -41,6 +45,7 @@ using singularity::ScaledEOS; using singularity::ShiftedEOS; using singularity::UnitSystem; +#ifndef SINGULARITY_BUILD_CLOSURE // recreate variadic list template using tl = variadic_utils::type_list; @@ -93,6 +98,7 @@ static constexpr const auto ramped_all = static constexpr const auto combined_list = variadic_utils::concat(combined_list_1, ramped_all); using EOS = typename decltype(tl_to_Variant(combined_list))::vt; +#endif SCENARIO("EOS Builder and Modifiers", "[EOSBuilder][Modifiers][IdealGas]") {