Skip to content

Commit

Permalink
Merge pull request #70 from lorenzoh/lo/fix-deprecated-call
Browse files Browse the repository at this point in the history
Fix deprecated call to `warp`
  • Loading branch information
lorenzoh authored Jun 21, 2022
2 parents 302c09b + 8b0c9e5 commit 03ccd3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DataAugmentation"
uuid = "88a5189c-e7ff-4f85-ac6b-e6158070f02e"
authors = ["lorenzoh <[email protected]>"]
version = "0.2.8"
version = "0.2.9"

[deps]
ColorBlendModes = "60508b50-96e1-4007-9d6c-f475c410f16b"
Expand Down
4 changes: 2 additions & 2 deletions src/items/image.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ function project(P, image::Image{N, T}, bounds::Bounds) where {N, T}
data_ = warp(
itemdata(image),
inv(P),
bounds.rs,
zero(T))
bounds.rs;
fillvalue = zero(T))
return Image(data_, bounds)
end

Expand Down

2 comments on commit 03ccd3b

@lorenzoh
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/62773

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.9 -m "<description of version>" 03ccd3bf2dc5f6dced2e9cd76b43f04af6190e6d
git push origin v0.2.9

Please sign in to comment.