Commit 12a7a7e3 authored by Samuel Pitoiset's avatar Samuel Pitoiset

UTests: fix build with clang

parent ed64767a
......@@ -160,9 +160,15 @@ class TestChebyshevDirect : public FUTester<TestChebyshevDirect> {
loader.getBoxWidth() * FReal(idxZ));
for(int idxSource = 0 ; idxSource < NbParticles ; ++idxSource){
TestParticle source = particles[idxSource];
source.position += offset;
TestParticle source;
source.position = particles[idxSource].position;
source.physicalValue = particles[idxSource].physicalValue;
source.potential = particles[idxSource].potential;
source.forces[0] = particles[idxSource].forces[0];
source.forces[1] = particles[idxSource].forces[1];
source.forces[2] = particles[idxSource].forces[2];
source.position += offset;
FP2P::NonMutualParticles(
source.position.getX(), source.position.getY(),
source.position.getZ(),source.physicalValue,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment