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 7d9aad8 commit 8eb83f7Copy full SHA for 8eb83f7
src/math.jl
@@ -1,5 +1,5 @@
1
for (type, base_type, _) in ABSTRACT_QUANTITY_TYPES
2
- div_base_type = type == AbstractGenericQuantity ? Number : base_type
+ div_base_type = type === AbstractGenericQuantity ? Number : base_type
3
@eval begin
4
function Base.:*(l::$type, r::$type)
5
l, r = promote_except_value(l, r)
0 commit comments