Skip to content

Commit

Permalink
Fix misspelled argument name in evaluate!
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Jan 14, 2025
1 parent 3103e28 commit ceb36f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dierckx.jl
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ function evaluate(spline::Spline2D, x::AbstractVector, y::AbstractVector)
return z
end

function evaluate!(wrk::Vector{Float64}, Vspline::Spline2D, x::Real, y::Real)
function evaluate!(wrk::Vector{Float64}, spline::Spline2D, x::Real, y::Real)
ier = Ref{Int32}()
lwrk = spline.kx + spline.ky + 2
length(wrk) == lwrk || throw(ArgumentError("Length of work array not equal to required length of `spline.kx + spline.ky + 2 = $(spline.kx + spline.ky + 2)`"))
Expand Down

0 comments on commit ceb36f7

Please sign in to comment.