From 985ebdb0a5aebec92c76ad4117a4d8879a2bb048 Mon Sep 17 00:00:00 2001 From: deegan Date: Wed, 16 Oct 2024 15:23:25 +0200 Subject: [PATCH] float -> double --- tests/amr/data/particles/refine/CMakeLists.txt | 4 +--- .../refine/test_particle_data_refine_tag_strategy.hpp | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/amr/data/particles/refine/CMakeLists.txt b/tests/amr/data/particles/refine/CMakeLists.txt index 70fddf6bb..162e4057d 100644 --- a/tests/amr/data/particles/refine/CMakeLists.txt +++ b/tests/amr/data/particles/refine/CMakeLists.txt @@ -29,6 +29,4 @@ target_link_libraries(${PROJECT_NAME} PRIVATE ${GTEST_LIBS}) -add_phare_test(${PROJECT_NAME} ${CMAKE_CURRENT_BINARY_DIR}) - - +add_no_mpi_phare_test(${PROJECT_NAME} ${CMAKE_CURRENT_BINARY_DIR}) diff --git a/tests/amr/data/particles/refine/test_particle_data_refine_tag_strategy.hpp b/tests/amr/data/particles/refine/test_particle_data_refine_tag_strategy.hpp index 0e556b3af..3ab2f60da 100644 --- a/tests/amr/data/particles/refine/test_particle_data_refine_tag_strategy.hpp +++ b/tests/amr/data/particles/refine/test_particle_data_refine_tag_strategy.hpp @@ -46,8 +46,8 @@ void loadCell(ParticleArray& particles, int iCellX, int iCellY, int i { std::array const _3diCell = {iCellX, iCellY, iCellZ}; - float const middle = 0.5; - float const delta = 0.30f; + double const middle = 0.5; + double const delta = 0.30; Particle particle;