We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would define eq methods (and neq ) in ExoJAX classes to enable to use == (and !=) operators.
==
!=
The use of the comparison of __dict__ (the following code) did not work:
__dict__
def __eq__(self, other): if isinstance(other, MyClass): return self.__dict__ == other.__dict__ return False
So, we decided to compare the attributes directly.
The text was updated successfully, but these errors were encountered:
done by #512
Sorry, something went wrong.
HajimeKawahara
No branches or pull requests
I would define eq methods (and neq ) in ExoJAX classes to enable to use
==
(and!=
) operators.The use of the comparison of
__dict__
(the following code) did not work:So, we decided to compare the attributes directly.
The text was updated successfully, but these errors were encountered: