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 91ba532 commit 7c38479Copy full SHA for 7c38479
src/systems/validation.jl
@@ -44,7 +44,7 @@ function safe_get_units(term, info)
44
if err isa Unitful.DimensionError
45
@warn("$info: $(err.x) and $(err.y) are not dimensionally compatible.")
46
elseif err isa MethodError #TODO: filter for only instances where the arguments are unitful
47
- @warn("$info: no method matching $(err.f) for arguments $(err.args).")
+ @warn("$info: no method matching $(err.f) for arguments $(typeof.(err.args)).")
48
else
49
rethrow()
50
end
0 commit comments