From 706d232a4175ff058bee128701af3140171952b2 Mon Sep 17 00:00:00 2001 From: Bill Dolinar Date: Thu, 18 May 2023 16:17:09 -0600 Subject: [PATCH] Fixed test baseline for changes to xmsgrid. --- _package/xms/interp/__init__.py | 2 +- xmsinterp/interpolate/InterpIdw.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_package/xms/interp/__init__.py b/_package/xms/interp/__init__.py index a952fb4b..99953e0a 100644 --- a/_package/xms/interp/__init__.py +++ b/_package/xms/interp/__init__.py @@ -3,4 +3,4 @@ from .api.interpolator import interpolate_to_grid # NOQA: F401 from .api.interpolator import interpolate_to_points # NOQA: F401 -__version__ = '6.1.6' +__version__ = '6.1.7' diff --git a/xmsinterp/interpolate/InterpIdw.cpp b/xmsinterp/interpolate/InterpIdw.cpp index a6942ae4..69bb2b4f 100644 --- a/xmsinterp/interpolate/InterpIdw.cpp +++ b/xmsinterp/interpolate/InterpIdw.cpp @@ -883,7 +883,7 @@ void InterpIdwUnitTests::testInterp2d_d() idw->SetNodalFunction(InterpIdw::GRAD_PLANE, 6, true, NULL); for (int i = 0; i < 5; ++i) s[i] = idw->InterpToPt(ipts[i]); - vBase = {6.17190981f, 0.60451090f, 0.656281888f, 13.252287f, 0.0f}; + vBase = {6.19763422f, 0.60451090f, -0.801453113f, 13.252287f, 0.0f}; TS_ASSERT_DELTA_VEC(vBase, s, 1e-7); } //------------------------------------------------------------------------------