Fixed Bug: Ionization near threashold and sampling near maximum secondary energy could lead to negative energy. Since energy was small, setting it to 0.

This commit is contained in:
Christian
2019-06-18 10:35:44 +02:00
parent ec2864b6fc
commit 61c29739a8
2 changed files with 1 additions and 3 deletions
-3
View File
@@ -13,11 +13,8 @@ using namespace std;
int main(int argc, const char * argv[]) {
clock_t start = clock();
Simulation Sim;
Sim.doit();
cout<<"Duration: "<< ( clock() - start ) / (double) CLOCKS_PER_SEC <<"\n";
}