Skip to content

Commit fa9bad8

Browse files
author
LasNikas
committed
fix
1 parent 0b7002d commit fa9bad8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/general/interpolation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ function divide_by_shepard_coefficient!(field::AbstractVector, shepard_coefficie
688688
end
689689

690690
function divide_by_shepard_coefficient!(field::AbstractArray{T, 2}, shepard_coefficient,
691-
point)
691+
point) where {T}
692692
for dim in axes(field, 1)
693693
field[dim, point] /= shepard_coefficient[point]
694694
end
@@ -697,7 +697,7 @@ function divide_by_shepard_coefficient!(field::AbstractArray{T, 2}, shepard_coef
697697
end
698698

699699
function divide_by_shepard_coefficient!(field::AbstractArray{T, 3}, shepard_coefficient,
700-
point)
700+
point) where {T}
701701
for j in axes(field, 2), i in axes(field, 1)
702702
field[i, j, point] /= shepard_coefficient[point]
703703
end

0 commit comments

Comments
 (0)