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 5eaf445 commit 8555b5fCopy full SHA for 8555b5f
src/utils.jl
@@ -22,9 +22,9 @@ function preprocess_update_func(update_func, accepted_kwargs)
22
end
23
function update_func_isconstant(update_func)
24
if update_func isa FilterKwargs
25
- return update_func.f == DEFAULT_UPDATE_FUNC
+ return update_func.f === DEFAULT_UPDATE_FUNC
26
else
27
- return update_func == DEFAULT_UPDATE_FUNC
+ return update_func === DEFAULT_UPDATE_FUNC
28
29
30
0 commit comments