Fixed MB-Generator. Slight changes

This commit is contained in:
Christian
2018-11-22 09:37:06 +01:00
parent 147ba3fe0c
commit 7be3c92a15
9 changed files with 41 additions and 27 deletions
+6 -6
View File
@@ -64,12 +64,12 @@ std::ostream& operator<<(std::ostream& os, const Particle& partOut) {
// Default Constructor
Particle::Particle() {
m_eV = NULL;
Z = NULL;
m_eV = NAN;
Z = NAN;
x_m = zeroVec();
v_ms = zeroVec();
Id = NULL;
parentId = NULL;
Id = NAN;
parentId = NAN;
s = undef;
}
@@ -78,8 +78,8 @@ Particle::Particle(double mass_eV, double charge_e, blitz::TinyVector<double,3>
Z = charge_e;
x_m = zeroVec();
v_ms = speed_ms;
Id = NULL;
parentId = NULL;
Id = NAN;
parentId = NAN;
s = undef;
}