Skip to content

Commit

Permalink
Fix misspelled argument name in evaluate! (#100)
Browse files Browse the repository at this point in the history
* Fix misspelled argument name in `evaluate!`

* [CI] Fix broken Coveralls step
  • Loading branch information
giordano authored Jan 14, 2025
1 parent 3103e28 commit dbc79ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:
depwarn: error
- uses: julia-actions/julia-processcoverage@v1
- name: Coveralls
uses: coverallsapp/github-action@v1.1.2
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: lcov.info
path-to-lcov: lcov.info
flag-name: run-${{ join(matrix.*, '-') }}
parallel: true
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 dbc79ae

Please sign in to comment.