From dfb578370d712ba5ebd8f7ad5f837db157bdc694 Mon Sep 17 00:00:00 2001 From: Mason Protter Date: Fri, 19 Jan 2024 10:23:28 +0100 Subject: [PATCH] try deleting the one(::Any) and zero(::Any) non_diff methods --- src/rulesets/Base/nondiff.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rulesets/Base/nondiff.jl b/src/rulesets/Base/nondiff.jl index d35024163..bbe23b6cf 100644 --- a/src/rulesets/Base/nondiff.jl +++ b/src/rulesets/Base/nondiff.jl @@ -333,7 +333,6 @@ @non_differentiable occursin(::Regex, ::AbstractString) @non_differentiable occursin(::Union{AbstractChar, AbstractString}, ::AbstractString) -@non_differentiable one(::Any) @non_differentiable ones(::Any...) @non_differentiable only(::Char) @non_differentiable open(::Any) @@ -457,7 +456,6 @@ end @non_differentiable xor(::Any...) @non_differentiable typejoin(::Any...) -@non_differentiable zero(::Any) @non_differentiable zeros(::Any...) #####