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 00ad788 commit ca31b12Copy full SHA for ca31b12
src/systems/unit_check.jl
@@ -79,7 +79,7 @@ get_unit(x::SciMLBase.NullParameters) = unitless
79
get_unit(op::typeof(instream), args) = get_unit(args[1])
80
81
function get_unit(op, args) # Fallback
82
- result = oneunit(op(get_unit.(args)...))
+ result = op(1 .* get_unit.(args)...)
83
try
84
get_unit(result)
85
catch
0 commit comments