From 2be14e573fc988ee2e8c745fb24f09d5ee026507 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Wed, 24 Aug 2022 15:37:09 +0200 Subject: [PATCH] Fix problem for not locatable points in the context of NodeFE spatial discr --- src/INTERP_KERNEL/InterpKernelRootsMultiDim.hxx | 5 ++++- src/MEDCoupling_Swig/MEDCouplingRemapperTest.py | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/INTERP_KERNEL/InterpKernelRootsMultiDim.hxx b/src/INTERP_KERNEL/InterpKernelRootsMultiDim.hxx index 68eb57acb..5d2faaba9 100644 --- a/src/INTERP_KERNEL/InterpKernelRootsMultiDim.hxx +++ b/src/INTERP_KERNEL/InterpKernelRootsMultiDim.hxx @@ -206,7 +206,10 @@ namespace INTERP_KERNEL if (temp > test) test=temp; } check=(test < TOLMIN); - return; + if( check ) + return; + else + continue; } test=0.0; for (i=0;i