Skip to content

Commit

Permalink
Fix test_eos_modifiers.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
rbberger committed Feb 1, 2024
1 parent 39b501c commit 9501625
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/test_eos_modifiers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
#include <singularity-eos/eos/eos.hpp>
#include <singularity-eos/eos/eos_builder.hpp>

#ifdef SINGULARITY_BUILD_CLOSURE
#include <singularity-eos/eos/singularity_eos.hpp>
#endif

#ifndef CATCH_CONFIG_FAST_COMPILE
#define CATCH_CONFIG_FAST_COMPILE
#include <catch2/catch_test_macros.hpp>
Expand All @@ -41,6 +45,7 @@ using singularity::ScaledEOS;
using singularity::ShiftedEOS;
using singularity::UnitSystem;

#ifndef SINGULARITY_BUILD_CLOSURE
// recreate variadic list
template <typename... Ts>
using tl = variadic_utils::type_list<Ts...>;
Expand Down Expand Up @@ -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]") {

Expand Down

0 comments on commit 9501625

Please sign in to comment.