From 20e9b2d87c6d7eeba38ec76853d0dabe068cc3d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20Ho=C3=9Fbach?= Date: Wed, 25 Oct 2023 11:26:37 +0200 Subject: [PATCH] fix CI --- src/core/ParticlePropertyIterator.hpp | 3 +-- src/core/electrostatics/p3m.cpp | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core/ParticlePropertyIterator.hpp b/src/core/ParticlePropertyIterator.hpp index b10e2cae1d..4f2312a26c 100644 --- a/src/core/ParticlePropertyIterator.hpp +++ b/src/core/ParticlePropertyIterator.hpp @@ -21,7 +21,6 @@ #include "BoxGeometry.hpp" #include "Particle.hpp" #include "ParticleRange.hpp" -#include "grid.hpp" #include #include @@ -45,7 +44,7 @@ auto create_transform_range(ParticleRange const &particles, Kernel kernel) { auto unfolded_pos_range(ParticleRange const &particles, BoxGeometry const &box) { auto return_unfolded_pos = [&box](Particle &p) { - return unfolded_position(p.pos(), p.image_box(), box.length()); + return ::detail::unfolded_position(p.pos(), p.image_box(), box.length()); }; return detail::create_transform_range(particles, return_unfolded_pos); } diff --git a/src/core/electrostatics/p3m.cpp b/src/core/electrostatics/p3m.cpp index 512b8612b3..5f0b8ff026 100644 --- a/src/core/electrostatics/p3m.cpp +++ b/src/core/electrostatics/p3m.cpp @@ -288,8 +288,8 @@ CoulombP3M::CoulombP3M(P3MParameters &¶meters, double prefactor, int tune_timings, bool tune_verbose, bool check_complex_residuals) : p3m{std::move(parameters)}, tune_timings{tune_timings}, - tune_verbose{tune_verbose}, - check_complex_residuals{check_complex_residuals} { + tune_verbose{tune_verbose}, check_complex_residuals{ + check_complex_residuals} { if (tune_timings <= 0) { throw std::domain_error("Parameter 'timings' must be > 0");