From 07e6d8d40e387ea3026c0d24df0742edcdf99de4 Mon Sep 17 00:00:00 2001 From: gsdali <51393997+gsdali@users.noreply.github.com> Date: Mon, 10 Aug 2026 21:20:16 +1000 Subject: [PATCH] Modeling Data - Fix AdvApp2Var Jacobi maxima written to the wrong workspace slot (#1418) Fixed approximation of spherical surfaces] Regression after https://github.com/Open-Cascade-SAS/OCCT/commit/3016a390713d2e893f4bfa797882b9f0266840e1 --- .../TKGeomBase/AdvApp2Var/AdvApp2Var_ApproxF2var.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModelingData/TKGeomBase/AdvApp2Var/AdvApp2Var_ApproxF2var.cxx b/src/ModelingData/TKGeomBase/AdvApp2Var/AdvApp2Var_ApproxF2var.cxx index 885a9a168a..563c8ba9eb 100644 --- a/src/ModelingData/TKGeomBase/AdvApp2Var/AdvApp2Var_ApproxF2var.cxx +++ b/src/ModelingData/TKGeomBase/AdvApp2Var/AdvApp2Var_ApproxF2var.cxx @@ -3949,7 +3949,7 @@ int AdvApp2Var_ApproxF2var::mma2ce1_(int* numdec, /* ------------------- Return max polynoms of Jacobi ------------ */ - AdvApp2Var_ApproxF2var::mma2jmx_(ndjacu, iordru, &wrkar_off[ipt5]); + AdvApp2Var_ApproxF2var::mma2jmx_(ndjacu, iordru, &wrkar_off[ipt4]); AdvApp2Var_ApproxF2var::mma2jmx_(ndjacv, iordrv, &wrkar_off[ipt5]); /* ------ Calculate the coefficients and their contribution to the error ----