Skip to content

Commit

Permalink
Fix assert leaving off valid case.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcjohns committed Jul 31, 2023
1 parent 8cdce0c commit 201be71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PeakSearchGuiUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1847,7 +1847,8 @@ std::unique_ptr<std::pair<PeakModel::PeakShrdPtr,std::string>>
assert( thisGammaType == PeakDef::NormalGamma
|| thisGammaType == PeakDef::SingleEscapeGamma
|| thisGammaType == PeakDef::DoubleEscapeGamma
|| thisGammaType == PeakDef::XrayGamma );
|| thisGammaType == PeakDef::XrayGamma
|| thisGammaType == PeakDef::AnnihilationGamma );

src = nuclide->symbol;
}else if( reaction )
Expand Down

0 comments on commit 201be71

Please sign in to comment.