We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1c8cfd commit 1449b08Copy full SHA for 1449b08
src/api.jl
@@ -146,15 +146,15 @@ julia> first(DiffRules.diffrules())
146
If you call `diffrules()`, only rules for Base, SpecialFunctions, and
147
NaNMath are returned but no rules for LogExpFunctions:
148
```jldoctest
149
-julia> any(M in :LogExpFunctions for (M, _, _) in DiffRules.diffrules())
+julia> any(M === :LogExpFunctions for (M, _, _) in DiffRules.diffrules())
150
false
151
```
152
153
If you set `filter_modules=nothing`, all rules defined in DiffRules are
154
returned and in particular also rules for LogExpFunctions:
155
156
julia> any(
157
- M in :LogExpFunctions
+ M === :LogExpFunctions
158
for (M, _, _) in DiffRules.diffrules(; filter_modules=nothing)
159
)
160
true
0 commit comments