Closed zzzDavid closed 1 year ago
This PR fixes #492, the __eq__ implementation of Type class. The previous implementation did not compare the type of Type instances.
__eq__
Type
Type.__eq__
fracs
exponent
tests/test_dtype.py::test_type_comparision
Summary
This PR fixes #492, the
__eq__
implementation ofType
class. The previous implementation did not compare the type ofType
instances.Changes
Type.__eq__
fracs
andexponent
attr in float32 and float64 typesTest
tests/test_dtype.py::test_type_comparision