From 6893b96a9acd04b497cd7fb4cf476f43d64a8d36 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 18 Jan 2018 12:02:22 -0500 Subject: [PATCH] Print out more info when TFI encounters errors. the upper loop bound, c, cannot be larger than the maximum valid index into the relevant array: therefore we should use '<=' instead of '<' in a loop bounded above by c. --- source/grid/manifold_lib.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/grid/manifold_lib.cc b/source/grid/manifold_lib.cc index 6840286dcd..48f2878e12 100644 --- a/source/grid/manifold_lib.cc +++ b/source/grid/manifold_lib.cc @@ -1859,7 +1859,7 @@ TransfiniteInterpolationManifold // generate additional information to help debugging why we did not // get a point std::ostringstream message; - for (unsigned int b=0; b::cell_iterator cell(triangulation, level_coarse, -- 2.39.5