Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

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;
source.position.getX(), source.position.getY(),
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