diff --git a/Elements/src/wimp_types.cpp b/Elements/src/wimp_types.cpp index 8f76a00ff5..5a0338dadd 100644 --- a/Elements/src/wimp_types.cpp +++ b/Elements/src/wimp_types.cpp @@ -42,8 +42,8 @@ namespace Gambit double WIMP_annihilation::B(const std::string& channel) const { double out; - auto it = a.find(channel); - if(it==a.end()) + auto it = b.find(channel); + if(it==b.end()) { out = 0; }