return
dim1 = get_dimensions(np.asanyarray(obj1))
dim2 = get_dimensions(np.asanyarray(obj2)) if not obj2 is None else DIMENSIONLESS
if not dim1 is dim2:
// Special treatment for "0":
After Change
if obj2 is None:
dim2 = DIMENSIONLESS
else:
dim2 = get_dimensions(np.asanyarray(obj2))
if not dim1 is dim2:
// Special treatment for "0":
// if it is not a Quantity, it has "any dimension".