Skip to content

Commit

Permalink
increase threshold on warning for rounding errors when subtracting st…
Browse files Browse the repository at this point in the history
…ables
  • Loading branch information
dglazier committed Jun 24, 2021
1 parent 8d6ba51 commit 6c3b6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/DecayModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ namespace elSpectro{

//Allow for rounding errors in check
if(TCM<0){
if(TCM<-1E-6){
if(TCM<-1E-5){
std::cout<<"DecayModel::PhaseSpaceWeightSq "<<Parent()->Pdg()<<" "<<GetName()<<" "<< MinimumMassPossible()<<" W "<<W<<" T "<<TCM<<" after stables "<<std::endl;}
return 0;
}//below threshold (probably precission issue), start again
Expand Down

0 comments on commit 6c3b6e2

Please sign in to comment.