Skip to content

Commit dbc79ae

Browse files
authored
Fix misspelled argument name in evaluate! (#100)
* Fix misspelled argument name in `evaluate!` * [CI] Fix broken Coveralls step
1 parent 3103e28 commit dbc79ae

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ jobs:
4242
depwarn: error
4343
- uses: julia-actions/julia-processcoverage@v1
4444
- name: Coveralls
45-
uses: coverallsapp/github-action@v1.1.2
45+
uses: coverallsapp/github-action@v2
4646
with:
4747
github-token: ${{ secrets.GITHUB_TOKEN }}
48-
path-to-lcov: lcov.info
48+
path-to-lcov: lcov.info
49+
flag-name: run-${{ join(matrix.*, '-') }}
50+
parallel: true

src/Dierckx.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ function evaluate(spline::Spline2D, x::AbstractVector, y::AbstractVector)
952952
return z
953953
end
954954

955-
function evaluate!(wrk::Vector{Float64}, Vspline::Spline2D, x::Real, y::Real)
955+
function evaluate!(wrk::Vector{Float64}, spline::Spline2D, x::Real, y::Real)
956956
ier = Ref{Int32}()
957957
lwrk = spline.kx + spline.ky + 2
958958
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)`"))

0 commit comments

Comments
 (0)