Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jhossbach committed Oct 25, 2023
1 parent d0d4964 commit 20e9b2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/core/ParticlePropertyIterator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "BoxGeometry.hpp"
#include "Particle.hpp"
#include "ParticleRange.hpp"
#include "grid.hpp"

#include <boost/iterator/transform_iterator.hpp>
#include <boost/range/iterator_range.hpp>
Expand All @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions src/core/electrostatics/p3m.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ CoulombP3M::CoulombP3M(P3MParameters &&parameters, 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");
Expand Down

0 comments on commit 20e9b2d

Please sign in to comment.