Skip to content
New issue

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

Attribute equality problem caused by hashCode() that depends on Object.hashCode() #101

Open
puneetnanand opened this issue Dec 14, 2019 · 1 comment
Assignees

Comments

@puneetnanand
Copy link

AMIDST team, I am having to work around the problem with Attribute.java:hashCode() calling into stateSpaceType.hashCode() which has no hashCode defined and lets the Object.java:hashCode() get called which in turn uses the memory address that is different for the same state spaces. The Attribute class is also not extensible. So the result isn't beautiful. Please let me know if I am missing something.

@andresmasegosa
Copy link
Contributor

Hi, thanks for point that out. Your are right. We'll have a look at that. But, feel free to make a PR if you think you have a good solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants