From be64cedfc3f360a00f172a7256917a0a7d98e675 Mon Sep 17 00:00:00 2001 From: Daniele Bariletti Date: Mon, 20 Oct 2025 12:30:35 +0200 Subject: [PATCH] EgtGeomKernel : - piccola correzione. --- CurveAux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CurveAux.cpp b/CurveAux.cpp index cd163d0..f25c5b9 100644 --- a/CurveAux.cpp +++ b/CurveAux.cpp @@ -1137,7 +1137,7 @@ FindSpan( double dU, int nDeg, const DBLVECTOR& vKnots, int& nSpan) // trovo a quale span appartiene il parametro dU int nKnots = int( vKnots.size()) ; if ( abs( dU - vKnots[nKnots-1]) < EPS_SMALL) { - nSpan = nKnots - 1 ; + nSpan = nKnots - 1 - nDeg ; return true ; } int nLow = nDeg - 1 ;