diff --git a/src/_BSplineSpace.jl b/src/_BSplineSpace.jl index eea0c61b7..0ebf6ac1b 100644 --- a/src/_BSplineSpace.jl +++ b/src/_BSplineSpace.jl @@ -273,7 +273,7 @@ isdegenerate(P::BSplineSpace) = isdegenerate_R(P) isnondegenerate(P::BSplineSpace, i::Integer) = isnondegenerate_R(P, i) isnondegenerate(P::BSplineSpace) = isnondegenerate_R(P) -function _degeneratize_R(P::BSplineSpace{p}) where p +function _nondegeneratize_R(P::BSplineSpace{p}) where p k = copy(KnotVector(knotvector(P))) I = Int[] for i in 1:dim(P) @@ -282,7 +282,7 @@ function _degeneratize_R(P::BSplineSpace{p}) where p deleteat!(BasicBSpline._vec(k), I) return BSplineSpace{p}(k) end -function _degeneratize_I(P::BSplineSpace{p}) where p +function _nondegeneratize_I(P::BSplineSpace{p}) where p k = copy(KnotVector(knotvector(P))) l = length(k) I = Int[] diff --git a/src/_ChangeBasis.jl b/src/_ChangeBasis.jl index 94c2517dc..110fca419 100644 --- a/src/_ChangeBasis.jl +++ b/src/_ChangeBasis.jl @@ -396,8 +396,8 @@ function _changebasis_I_old(P::BSplineSpace{p,T}, P′::BSplineSpace{p′,T′}) end function __changebasis_I_old(P1, P2) - _P1 = _degeneratize_I(P1) - _P2 = _degeneratize_I(P2) + _P1 = _nondegeneratize_I(P1) + _P2 = _nondegeneratize_I(P2) A = _changebasis_I_old(P1,P2) _A = zero(A) _A[isnondegenerate_I.(P1,1:dim(P1)), isnondegenerate_I.(P2,1:dim(P2))] = _changebasis_I_old(_P1,_P2)