Skip to content

Commit 8555b5f

Browse files
Update src/utils.jl
1 parent 5eaf445 commit 8555b5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ function preprocess_update_func(update_func, accepted_kwargs)
2222
end
2323
function update_func_isconstant(update_func)
2424
if update_func isa FilterKwargs
25-
return update_func.f == DEFAULT_UPDATE_FUNC
25+
return update_func.f === DEFAULT_UPDATE_FUNC
2626
else
27-
return update_func == DEFAULT_UPDATE_FUNC
27+
return update_func === DEFAULT_UPDATE_FUNC
2828
end
2929
end
3030

0 commit comments

Comments
 (0)