diff options
Diffstat (limited to 'src/test/ElementsSimulationTest.cc')
-rw-r--r-- | src/test/ElementsSimulationTest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ElementsSimulationTest.cc b/src/test/ElementsSimulationTest.cc index 2406171..3ef0460 100644 --- a/src/test/ElementsSimulationTest.cc +++ b/src/test/ElementsSimulationTest.cc @@ -72,8 +72,8 @@ int main() { //test de simulation for(unsigned int j(0); j<it; ++j){ va[i]->step(10E-11); - if(!(va[i]->getParticles().empty())){ - cout<<"after "<<j+1<<" step :"<<endl << (va[i]->getParticles().front()->toString())<<endl; + if(!(va[i]->getParticles()->empty())){ + cout<<"after "<<j+1<<" step :"<<endl << (va[i]->getParticles()->front()->toString())<<endl; } } |