Skip to content

Commit

Permalink
soften the phrasing of the warning on floats
Browse files Browse the repository at this point in the history
  • Loading branch information
Sasha Demin committed Oct 2, 2023
1 parent a7ca69a commit 52f4d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ function eval_at_nemo(e::Union{Float16, Float32, Float64}, vals::Dict)
else
out = rationalize(e)
end
@warn "Floating points are not allowed, value $e will be converted to $(out)."
@warn "Floating point value $e will be converted to $(out)."
return out
end

Expand Down

0 comments on commit 52f4d62

Please sign in to comment.