We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 694b366 commit 4cdb286Copy full SHA for 4cdb286
src/SmoothingSplines.jl
@@ -66,7 +66,7 @@ function fit!{T<:LAPACKFloat}(spl::SmoothingSpline{T})
66
end
67
68
function fit!{T<:LAPACKFloat}(spl::SmoothingSpline{T}, Y::AbstractVector{T})
69
- spl.Y = Y[spl.idx]
+ spl.Yorig = Y[spl.Xrank]
70
fit!(spl)
71
72
0 commit comments