Skip to content

Commit

Permalink
Put Hiyoshi in the error message too
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVandH committed Sep 7, 2023
1 parent 09d4f6f commit 9460b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interpolation/eval.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ end
@inline function _eval_interp(method::Union{<:Farin,Sibson{1}}, itp::NaturalNeighboursInterpolant, p, cache; kwargs...)
gradients = get_gradient(itp)
if isnothing(gradients)
throw(ArgumentError("Gradients must be provided for Sibson-1 or Farin interpolation. Consider using e.g. interpolate(tri, z; derivatives = true)."))
throw(ArgumentError("Gradients must be provided for Sibson-1, Farin, or Hiyoshi-2 interpolation. Consider using e.g. interpolate(tri, z; derivatives = true)."))

Check warning on line 50 in src/interpolation/eval.jl

View check run for this annotation

Codecov / codecov/patch

src/interpolation/eval.jl#L50

Added line #L50 was not covered by tests
end
tri = get_triangulation(itp)
nc = compute_natural_coordinates(Sibson(), tri, p, cache; kwargs...)
Expand Down

0 comments on commit 9460b8f

Please sign in to comment.