Skip to content

Commit

Permalink
Fix converting a double to a bool
Browse files Browse the repository at this point in the history
  • Loading branch information
wcjohns committed Oct 8, 2024
1 parent 7fabd0e commit 730bb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DetectionLimitCalc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void batch_test()
if( age > 10*SandiaDecay::year )
age = 10*SandiaDecay::year;

const bool parent_act = 1.0E-3*SandiaDecay::curie; //Will get divided out, doesnt matter, as long as not too small.
const double parent_act = 1.0E-3*SandiaDecay::curie; //Will get divided out, doesnt matter, as long as not too small.

SandiaDecay::NuclideMixture mix;
mix.addAgedNuclideByActivity( nuc, parent_act, age );
Expand Down

0 comments on commit 730bb60

Please sign in to comment.