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

fix: IsZero throws panic on #367

Merged
merged 2 commits into from Sep 14, 2022
Merged

fix: IsZero throws panic on #367

merged 2 commits into from Sep 14, 2022

Conversation

ivokub
Copy link
Collaborator

@ivokub ivokub commented Sep 13, 2022

Included suggested edits in stale #333.

@ivokub ivokub added the bug Something isn't working label Sep 13, 2022
@ivokub ivokub added this to the v0.8.0 milestone Sep 13, 2022
@ivokub ivokub self-assigned this Sep 13, 2022
@ivokub ivokub force-pushed the fix/isZero-cmp branch 2 times, most recently from 6fef78e to 2975209 Compare September 14, 2022 08:11
niconiconi and others added 2 commits September 14, 2022 14:59
A code will trigger the bug:

func isNegative(api frontend.API, x frontend.Variable) frontend.Variable {
	c := frontend.Variable("10944121435919637611123202872628637544274182200208017171849102093287904247808")
	return api.Cmp(x, c)
}
@ivokub ivokub merged commit 57c0666 into develop Sep 14, 2022
@ivokub ivokub deleted the fix/isZero-cmp branch December 15, 2022 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants