Skip to content
Permalink
Browse files

refs #7351 Fixing ExtractMaskToTable which fails test in debug mode

this is nothing to do with SofQ but prevents me from running Algorithms tests in debug mode.
  • Loading branch information
abuts committed Jul 15, 2013
1 parent b3c5192 commit 5c93875e2d1ae9143b7c2b46a6e725150dfc07cc
Showing with 3 additions and 1 deletion.
  1. +3 −1 Code/Mantid/Framework/Algorithms/src/ExtractMaskToTable.cpp
@@ -415,7 +415,9 @@ namespace Algorithms
{
detid_t tmpid = minuend[i];
fiter = lower_bound(firstsubiter, subtrahend.end(), tmpid);
bool exist = *fiter == tmpid;
bool exist(false);
if (fiter != subtrahend.end())
exist = *fiter == tmpid;
if (!exist)
{
diff.push_back(tmpid);

0 comments on commit 5c93875

Please sign in to comment.
You can’t perform that action at this time.