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

Hash equality disagreement for MutableTangent on 32bit (/x86 CI) #658

Closed
oxinabox opened this issue Jan 29, 2024 · 0 comments · Fixed by #659
Closed

Hash equality disagreement for MutableTangent on 32bit (/x86 CI) #658

oxinabox opened this issue Jan 29, 2024 · 0 comments · Fixed by #659
Labels
32 bit Issues that only occur on 32 bit systems bug Something isn't working

Comments

@oxinabox
Copy link
Member

Since #626 (probably revealed in that CI but overlooked)
the CI has been failing on 32 bit from one of tested added in that PR

 == and hash: Test Failed at /home/runner/work/ChainRulesCore.jl/ChainRulesCore.jl/test/tangent_types/structural_tangent.jl:473
  Expression: hash(MutableTangent{MDemo}(; x = 1.0f0)) == hash(MutableTangent{MDemo}(; x = 1.0))
   Evaluated: 0x9d88e406 == 0x848801a3

There is no reasons obvious to me why these would disagree.
It is required that values that are == (like 1.0 and 1.0f0) also hash that same

@oxinabox oxinabox added bug Something isn't working 32 bit Issues that only occur on 32 bit systems labels Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
32 bit Issues that only occur on 32 bit systems bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant