Skip to content

Commit 76d789c

Browse files
non_differentiable unique (#736)
* non_differentiable unique * bump version
1 parent 79722bf commit 76d789c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ChainRules"
22
uuid = "082447d4-558c-5d27-93f4-14fc19e9eca2"
3-
version = "1.54.1"
3+
version = "1.55.0"
44

55
[deps]
66
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"

src/rulesets/Base/nondiff.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,8 @@ end
441441

442442
@non_differentiable unescape_string(::AbstractString)
443443
@non_differentiable unescape_string(::IO, ::AbstractString)
444+
@non_differentiable unique(::AbstractArray{<:Union{Regex, AbstractChar, AbstractString}})
445+
@non_differentiable unique(::AbstractArray{Symbol})
444446
@non_differentiable unmark(::IO)
445447
@non_differentiable unsafe_string(::Cstring)
446448
@non_differentiable uppercase(::AbstractString)

0 commit comments

Comments
 (0)