Skip to content

Commit a9f51ba

Browse files
committed
Fix deprecated call to 4-arg warp
Now uses the `filltype` kwarg instead of the positional one
1 parent 302c09b commit a9f51ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/items/image.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ function project(P, image::Image{N, T}, bounds::Bounds) where {N, T}
6969
data_ = warp(
7070
itemdata(image),
7171
inv(P),
72-
bounds.rs,
73-
zero(T))
72+
bounds.rs;
73+
fillvalue = zero(T))
7474
return Image(data_, bounds)
7575
end
7676

0 commit comments

Comments
 (0)