Skip to content

Commit

Permalink
Update KSIntCalculatorMottBuilder.h
Browse files Browse the repository at this point in the history
  • Loading branch information
juniorpena authored Sep 12, 2024
1 parent c66c2f6 commit 58d7ac0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ template<> inline bool KSIntCalculatorMottBuilder::AddAttribute(KContainer* aCon
if (aContainer->GetName() == "nucleus") {
aContainer->CopyTo(fObject, &KSIntCalculatorMott::SetNucleus);

if ((fObject->GetNucleus().compare("He") != 0) && (fObject->GetNucleus().compare("Ne") != 0)) {
if ((fObject->GetNucleus().compare("He-4") != 0) && (fObject->GetNucleus().compare("Ne-20") != 0)) {
initmsg(eError) << "\"" << fObject->GetNucleus()
<< R"(" is not available for Mott scattering! Available gases: "He", "Ne")" << eom;
<< R"(" is not available for Mott scattering! Available gases: "He-4", "Ne-20")" << eom;

return false;
}
Expand Down

0 comments on commit 58d7ac0

Please sign in to comment.