Skip to content

Commit

Permalink
Refs #4814. Slightly more safe check.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Feb 21, 2012
1 parent 8b4ad1c commit a57ac1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ namespace Mantid
{
const ComponentID id = comp->getComponentID();
pmap_cit it_found = m_map.find(id);
if( it_found != m_map.end() )
if( it_found->first && it_found != m_map.end() )
{
pmap_cit itr = m_map.lower_bound(id);
pmap_cit itr_end = m_map.upper_bound(id);
Expand Down

0 comments on commit a57ac1a

Please sign in to comment.