You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe we should make Box(0, 255, (1,), UInt8) != Box(0, 255, (1,), UInt16) and Box(0, 255, (1,), UInt8) != Box(0, 255, (1,), Int8) as the return data type may cause typeistability down the line.
The text was updated successfully, but these errors were encountered:
Good point. While I agree with Box(0, 255, (1,), UInt8) != Box(0, 255, (1,), Int8), I'm not so sure about Box(0, 255, (1,), UInt8) != Box(0, 255, (1,), UInt16). I mean (and I may be completely wrong about this), a sample(Box(0, 255, (1,), UInt8)) in Box(0, 255, (1,), UInt16) should always be true, and vice versa. That should make Box(0, 255, (1,), UInt8) == Box(0, 255, (1,), UInt16) imo. But I'd defer to you and @tejank10, because I may be out of my depth here.
Box space with different datatypes are compared to be equal if range is same.
MWE:
Maybe we should make
Box(0, 255, (1,), UInt8) != Box(0, 255, (1,), UInt16)
andBox(0, 255, (1,), UInt8) != Box(0, 255, (1,), Int8)
as the return data type may cause typeistability down the line.The text was updated successfully, but these errors were encountered: