Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add in-place evaluate! #91

Merged
merged 2 commits into from
Sep 27, 2024
Merged

add in-place evaluate! #91

merged 2 commits into from
Sep 27, 2024

Conversation

jlazar17
Copy link
Contributor

@jlazar17 jlazar17 commented Jun 6, 2022

No description provided.

@jlazar17 jlazar17 closed this Jun 6, 2022
@jlazar17 jlazar17 reopened this Jun 6, 2022
src/Dierckx.jl Outdated Show resolved Hide resolved
Co-authored-by: Sukera <11753998+Seelengrab@users.noreply.github.com>
@kaarthiksundar kaarthiksundar merged commit 3103e28 into JuliaMath:master Sep 27, 2024
@@ -952,10 +952,10 @@ function evaluate(spline::Spline2D, x::AbstractVector, y::AbstractVector)
return z
end

function evaluate(spline::Spline2D, x::Real, y::Real)
function evaluate!(wrk::Vector{Float64}, Vspline::Spline2D, x::Real, y::Real)
ier = Ref{Int32}()
lwrk = spline.kx + spline.ky + 2
Copy link
Member

@giordano giordano Jan 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This spline is undefined. Was CI not run on this PR?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a typo - the argument passed to evaluate! should probably be changed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants