From e778973a812a398b9f6ee677adfc9c1cc34e4fa1 Mon Sep 17 00:00:00 2001
From: Alex Buts <Alex.Buts@stfc.ac.uk>
Date: Tue, 16 Jul 2013 09:36:25 +0100
Subject: [PATCH] refs #7454 Added couple of brackets to ParameterMap

---
 .../Framework/Geometry/src/Instrument/ParameterMap.cpp    | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/Code/Mantid/Framework/Geometry/src/Instrument/ParameterMap.cpp b/Code/Mantid/Framework/Geometry/src/Instrument/ParameterMap.cpp
index ebb1bf035de..42c1653840a 100644
--- a/Code/Mantid/Framework/Geometry/src/Instrument/ParameterMap.cpp
+++ b/Code/Mantid/Framework/Geometry/src/Instrument/ParameterMap.cpp
@@ -541,6 +541,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)
              {
                 pmap_cit itr = m_map.lower_bound(id);
@@ -554,9 +555,10 @@ namespace Mantid
                         break;
                     }
                 }
-             }
-        }
-      }
+             } // found->firdst
+          } // it_found != m_map.end()
+        } //!m_map.empty()
+      } // PARALLEL_CRITICAL(ParameterMap_get)
       return result;
     }
 
-- 
GitLab