diff --git a/tests/amr/data/particles/copy_overlap/test_particledata_copy_periodicNd.cpp b/tests/amr/data/particles/copy_overlap/test_particledata_copy_periodicNd.cpp index 0318a0993..5642780a8 100644 --- a/tests/amr/data/particles/copy_overlap/test_particledata_copy_periodicNd.cpp +++ b/tests/amr/data/particles/copy_overlap/test_particledata_copy_periodicNd.cpp @@ -57,8 +57,8 @@ struct twoParticlesDataNDTouchingPeriodicBorders : public testing::Test bool overwriteInterior{true}; - SAMRAI::hier::Transformation transformation{destPdat.getGhostBox().lower() - - sourceDomain.upper()}; + SAMRAI::hier::Transformation transformation{ + SAMRAI::hier::IntVector{destPdat.getGhostBox().lower() - sourceDomain.upper()}}; std::shared_ptr cellOverlap{ std::dynamic_pointer_cast(destGeom->calculateOverlap( diff --git a/tests/amr/data/particles/stream_pack/test_main.cpp b/tests/amr/data/particles/stream_pack/test_main.cpp index 38db1b8a5..01d85382e 100644 --- a/tests/amr/data/particles/stream_pack/test_main.cpp +++ b/tests/amr/data/particles/stream_pack/test_main.cpp @@ -65,9 +65,8 @@ struct AParticlesData bool overwriteInterior{true}; SAMRAI::hier::Index oneIndex{SAMRAI::hier::IntVector::getOne(amr_dimension)}; - - SAMRAI::hier::Transformation transformation{destDomain.lower() - sourceDomain.upper() - - oneIndex}; + SAMRAI::hier::Transformation transformation{ + SAMRAI::hier::IntVector{destDomain.lower() - sourceDomain.upper() - oneIndex}}; std::shared_ptr cellOverlap{