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
{{ message }}
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Comparaison between RangePartitioning objects seems to be incorrect. #159
@francois-baptiste The magic of the equality operator == happens in the eq() class method of the object. This is a magic class method that’s called whenever an instance of this class is compared against another object. If this method is not implemented in the class , then == compares the memory addresses of the two objects by default.
Activity
HemangChothani commentedon Jul 10, 2020
@francois-baptiste The magic of the equality operator == happens in the eq() class method of the object. This is a magic class method that’s called whenever an instance of this class is compared against another object. If this method is not implemented in the class , then == compares the memory addresses of the two objects by default.
You can compare like:
francois-baptiste commentedon Jul 10, 2020
Thank you @HemangChothani for the workaround. I think however that the eq() method should be implemented as the other class of the library.