From 5294159d96c302ac2f97d314ea4bad3513ac4efe Mon Sep 17 00:00:00 2001
From: Thomas Fischer <thomas.fischer@ufz.de>
Date: Thu, 18 May 2017 11:51:42 +0200
Subject: [PATCH] fixup make comment more specific.

---
 MeshGeoToolsLib/MeshNodeSearcher.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/MeshGeoToolsLib/MeshNodeSearcher.cpp b/MeshGeoToolsLib/MeshNodeSearcher.cpp
index 21a3ccd3986..b60200744ff 100644
--- a/MeshGeoToolsLib/MeshNodeSearcher.cpp
+++ b/MeshGeoToolsLib/MeshNodeSearcher.cpp
@@ -162,7 +162,8 @@ MeshNodeSearcher const& MeshNodeSearcher::getMeshNodeSearcher(
     if (_mesh_node_searchers[mesh_id])
     {
         auto const& m = *_mesh_node_searchers[mesh_id];
-        // recreate searcher if search length algorithm does not fit
+        // return searcher if search length algorithm and the returned search
+        // lenght are the same, else recreate the searcher
         if (typeid(m._search_length_algorithm) ==
                 typeid(search_length_algorithm) &&
             m._search_length_algorithm.getSearchLength() ==
-- 
GitLab