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

Array out of bound exception in PropLexInt #630

Closed
jgFages opened this issue May 12, 2019 · 1 comment
Closed

Array out of bound exception in PropLexInt #630

jgFages opened this issue May 12, 2019 · 1 comment

Comments

@jgFages
Copy link
Contributor

jgFages commented May 12, 2019

return ESat.eval(vars[n - 1].getValue() == vars[n - 1 + n].getValue());

I believe ESat.TRUE should be returned instead.

Seems to come from a copy/paste of PropLex in which there is no array out of bound, but which could still be simplified by returning ESat.TRUE as well

@cprudhom
Copy link
Member

That is a wrong copy/paste, it should return TRUE if all x[i] == y[i].

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

No branches or pull requests

2 participants