Skip to content

Commit 03ccd3b

Browse files
authored
Merge pull request #70 from lorenzoh/lo/fix-deprecated-call
Fix deprecated call to `warp`
2 parents 302c09b + 8b0c9e5 commit 03ccd3b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DataAugmentation"
22
uuid = "88a5189c-e7ff-4f85-ac6b-e6158070f02e"
33
authors = ["lorenzoh <[email protected]>"]
4-
version = "0.2.8"
4+
version = "0.2.9"
55

66
[deps]
77
ColorBlendModes = "60508b50-96e1-4007-9d6c-f475c410f16b"

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)