From 3e841405e16ed8d3bbc7378b3c718585b192ce84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Tue, 23 May 2023 14:53:52 +0200 Subject: [PATCH] Deactivate long double entirely for JSON/TOML --- test/SerialIOTest.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/SerialIOTest.cpp b/test/SerialIOTest.cpp index bd30e5100f..9decace68b 100644 --- a/test/SerialIOTest.cpp +++ b/test/SerialIOTest.cpp @@ -1342,8 +1342,7 @@ TEST_CASE("particle_patches", "[serial]") inline void dtype_test(const std::string &backend) { - bool test_long_double = - (backend != "json" && backend != "toml") || sizeof(long double) <= 8; + bool test_long_double = backend != "json" && backend != "toml"; bool test_long_long = (backend != "json") || sizeof(long long) <= 8; { Series s = Series("../samples/dtype_test." + backend, Access::CREATE);