Fixed bug, where electrons being reflected by spectrometers would not be logged twice / properly.

This commit is contained in:
Christian
2019-09-06 10:18:35 +02:00
parent 1978039630
commit 8d162e3c4e
3 changed files with 3 additions and 16 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ inline void Drift_Base::move(Particle *movePart, const double &macroSigma_m2) {
newLoc_m[2] = znew_m;
movePart->set_x_m(newLoc_m);
Logger->log(*movePart,oldLoc_m);
Logger->log(*movePart, oldLoc_m);
Population->increase_density(*movePart, oldLoc_m);
}