From dbc79ae2629203b7d6e59cb34937340b04f09410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= <765740+giordano@users.noreply.github.com> Date: Tue, 14 Jan 2025 19:05:10 +0000 Subject: [PATCH] Fix misspelled argument name in `evaluate!` (#100) * Fix misspelled argument name in `evaluate!` * [CI] Fix broken Coveralls step --- .github/workflows/ci.yml | 6 ++++-- src/Dierckx.jl | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d520cb..24e7656 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \ No newline at end of file + path-to-lcov: lcov.info + flag-name: run-${{ join(matrix.*, '-') }} + parallel: true diff --git a/src/Dierckx.jl b/src/Dierckx.jl index 77d972d..a217d32 100644 --- a/src/Dierckx.jl +++ b/src/Dierckx.jl @@ -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)`"))