tweak warn message

This commit is contained in:
Gaspard Jankowiak 2025-02-11 13:41:56 +01:00
commit cba0d34f99

View file

@ -52,7 +52,7 @@ function check(f, Jf, x, constant_components::Vector{Int}=Int[]; f_kwargs...)
m = maximum(error_array)
if m < 1e-8
@warn "f looks linear!"
@warn "f looks constant or linear!"
return true
end