From d4030543f399165fc7b09dddf29b50339b231c32 Mon Sep 17 00:00:00 2001 From: Serhii Yaskovets <yaskovet@mpi-cbg.de> Date: Mon, 25 Mar 2024 14:29:27 +0100 Subject: [PATCH] Merge Box and SpaceBox into Box; reduce code duplication --- src/BoundaryConditions/MethodOfImages.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BoundaryConditions/MethodOfImages.hpp b/src/BoundaryConditions/MethodOfImages.hpp index ef075113..a959720b 100644 --- a/src/BoundaryConditions/MethodOfImages.hpp +++ b/src/BoundaryConditions/MethodOfImages.hpp @@ -173,7 +173,7 @@ private: for (int i = 0 ; i < subs.size() ; i++) { - SpaceBox<vd_type::dims, typename vd_type::stype> sub = subs.get(i); + Box<vd_type::dims, typename vd_type::stype> sub = subs.get(i); sub.enlarge(g); is_inside |= sub.isInside(p); } -- GitLab