From c6180019d96f8d15e01404806542534419d50f27 Mon Sep 17 00:00:00 2001
From: laurence <laurence>
Date: Thu, 2 May 2013 12:06:58 +0100
Subject: [PATCH] BUG: Update AMIMethod tree to use new constructor

---
 .../AMIInterpolation/AMIMethod/AMIMethod/AMIMethod.C       | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/AMIMethod/AMIMethod.C b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/AMIMethod/AMIMethod.C
index 920c7822868..9c145081342 100644
--- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/AMIMethod/AMIMethod.C
+++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIMethod/AMIMethod/AMIMethod.C
@@ -210,7 +210,12 @@ void Foam::AMIMethod<SourcePatch, TargetPatch>::resetTree()
         (
             new indexedOctree<treeType>
             (
-                treeType(false, tgtPatch_),
+                treeType
+                (
+                    false,
+                    tgtPatch_,
+                    indexedOctree<treeType>::perturbTol()
+                ),
                 bb,                         // overall search domain
                 8,                          // maxLevel
                 10,                         // leaf size
-- 
GitLab