Skip to content

Commit 8eb83f7

Browse files
Use === instead of ==
Co-authored-by: Gaurav Arya <[email protected]>
1 parent 7d9aad8 commit 8eb83f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/math.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
for (type, base_type, _) in ABSTRACT_QUANTITY_TYPES
2-
div_base_type = type == AbstractGenericQuantity ? Number : base_type
2+
div_base_type = type === AbstractGenericQuantity ? Number : base_type
33
@eval begin
44
function Base.:*(l::$type, r::$type)
55
l, r = promote_except_value(l, r)

0 commit comments

Comments
 (0)