Skip to content

Conversation

advikkabra
Copy link
Collaborator

When the capacity is zero, the hashing function tries to run a modulo operation with zero which leads to a floating point exception. During a membership check, I check if capacity is zero, and return false if it is.

@czgdp1807 czgdp1807 enabled auto-merge August 16, 2024 13:39
@czgdp1807 czgdp1807 merged commit a104c30 into lcompilers:main Aug 18, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants