From 54c696453c2f9672c7d21f2ef3dcaf4a0bc53649 Mon Sep 17 00:00:00 2001 From: Niklas Schmitz Date: Tue, 8 Mar 2022 17:44:07 +0100 Subject: [PATCH 1/4] Mark allunique non_differentiable --- src/rulesets/Base/nondiff.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rulesets/Base/nondiff.jl b/src/rulesets/Base/nondiff.jl index f4764b54e..6716f502e 100644 --- a/src/rulesets/Base/nondiff.jl +++ b/src/rulesets/Base/nondiff.jl @@ -96,6 +96,7 @@ @non_differentiable abspath(::AbstractString...) @non_differentiable all(::Any) @non_differentiable all(::Any, ::Any) +@non_differentiable allunique(::Any) @non_differentiable any(::Any) @non_differentiable any(::Any, ::Any) @non_differentiable argmax(::Any) From d09b6488e3c69e9ea91c23fc14dcb36059e28954 Mon Sep 17 00:00:00 2001 From: Niklas Schmitz Date: Tue, 8 Mar 2022 18:09:06 +0100 Subject: [PATCH 2/4] Bump version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index b258fe502..5d02cca1a 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "ChainRules" uuid = "082447d4-558c-5d27-93f4-14fc19e9eca2" -version = "1.27.0" +version = "1.27.1" [deps] ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" From 31508bb167843b0204a9007b1ebc5263065d1821 Mon Sep 17 00:00:00 2001 From: Niklas Schmitz Date: Tue, 8 Mar 2022 18:12:08 +0100 Subject: [PATCH 3/4] Bump minor --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 5d02cca1a..9f45fea3a 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "ChainRules" uuid = "082447d4-558c-5d27-93f4-14fc19e9eca2" -version = "1.27.1" +version = "1.28.0" [deps] ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" From fd1cb54b80de2edcc20d8ca4c443a3b9fd871db0 Mon Sep 17 00:00:00 2001 From: Niklas Schmitz Date: Tue, 8 Mar 2022 23:06:58 +0100 Subject: [PATCH 4/4] Mark allequal non_differentiable --- Project.toml | 2 +- src/rulesets/Base/nondiff.jl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 9f45fea3a..7b80db3e1 100644 --- a/Project.toml +++ b/Project.toml @@ -15,7 +15,7 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" [compat] ChainRulesCore = "1.12" ChainRulesTestUtils = "1.5" -Compat = "3.35" +Compat = "3.42.0" FiniteDifferences = "0.12.20" IrrationalConstants = "0.1.1" JuliaInterpreter = "0.8" # latest is "0.9.1" diff --git a/src/rulesets/Base/nondiff.jl b/src/rulesets/Base/nondiff.jl index 6716f502e..ebff884e3 100644 --- a/src/rulesets/Base/nondiff.jl +++ b/src/rulesets/Base/nondiff.jl @@ -96,6 +96,7 @@ @non_differentiable abspath(::AbstractString...) @non_differentiable all(::Any) @non_differentiable all(::Any, ::Any) +@non_differentiable allequal(::Any) @non_differentiable allunique(::Any) @non_differentiable any(::Any) @non_differentiable any(::Any, ::Any)