Skip to content

Commit

Permalink
re #9420 matrix ws working, needs unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDraper committed May 9, 2014
1 parent 7d5f06e commit e6a83ff
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Code/Mantid/Framework/DataHandling/src/GroupDetectors2.cpp
Expand Up @@ -742,9 +742,12 @@ void GroupDetectors2::processGroupingWorkspace(GroupingWorkspace_const_sptr grou
{
size_t groupid = dit->first;
std::set<size_t>& targetWSIndexSet = dit->second;
std::vector<size_t> tempv;
tempv.assign( targetWSIndexSet.begin(), targetWSIndexSet.end() );
m_GroupSpecInds.insert(std::make_pair(static_cast<specid_t>(groupid), tempv));
if (targetWSIndexSet.size()>0)
{
std::vector<size_t> tempv;
tempv.assign( targetWSIndexSet.begin(), targetWSIndexSet.end() );
m_GroupSpecInds.insert(std::make_pair(static_cast<specid_t>(groupid), tempv));
}
}

return;
Expand Down

0 comments on commit e6a83ff

Please sign in to comment.