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 29ebb9f commit 19f63e8Copy full SHA for 19f63e8
src/systems/unit_check.jl
@@ -80,13 +80,7 @@ function get_unit(op, args) # Fallback
80
try
81
get_unit(result)
82
catch
83
- try
84
- # Try with oneunit for numeric operations
85
- result = oneunit(op(unit_args...))
86
- return get_unit(result)
87
- catch
88
- throw(ValidationError("Unable to get unit for operation $op with arguments $args."))
89
- end
+ throw(ValidationError("Unable to get unit for operation $op with arguments $args."))
90
end
91
92
0 commit comments