Skip to content

Commit

Permalink
Update Kassiopeia/Bindings/Interactions/Include/KSIntCalculatorMottBu…
Browse files Browse the repository at this point in the history
…ilder.h

Co-authored-by: 2xB <31772910+2xB@users.noreply.github.com>
  • Loading branch information
juniorpena and 2xB authored Jun 10, 2024
1 parent 335814e commit 0865903
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ template<> inline bool KSIntCalculatorMottBuilder::AddAttribute(KContainer* aCon
if (aContainer->GetName() == "theta_min") {
aContainer->CopyTo(fObject, &KSIntCalculatorMott::SetThetaMin);

if ((fObject->GetThetaMin() == 0.0)) {
if ((fObject->GetThetaMin() <= 0.0)) {
initmsg(eError) << "\"" << fObject->GetThetaMin()
<< R"(" is an invalid lower bound for Mott scattering! Change to a value > 0)" << eom;

Expand Down

0 comments on commit 0865903

Please sign in to comment.