Skip to content

Commit 1c50c62

Browse files
deprecate rpad correctly (#131)
* cl/rpad * bump
1 parent 125205b commit 1c50c62

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MLUtils"
22
uuid = "f1d291b0-491e-4a28-83b9-f70985020b54"
33
authors = ["Carlo Lucibello <[email protected]> and contributors"]
4-
version = "0.3.0"
4+
version = "0.3.1"
55

66
[deps]
77
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

src/deprecations.jl

+1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
@deprecate eachbatch(data; size=1, kws...) eachobs(data; batchsize=size, kws...)
1010

1111
# Deprecated in v0.3
12+
import Base: rpad
1213
@deprecate rpad(v::AbstractVector, n::Integer, p) rpad_constant(v, n, p)

0 commit comments

Comments
 (0)