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

Correct tree height generation for arrays of size 32^n #396

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@eeue56
Contributor

eeue56 commented Sep 8, 2015

"Fixes" #176 by making initialize and fromList generate trees of the same height for the same amount of elements. This fixes the eq problem by making sure that the way trees are generated (in terms of height and leafing) is consistent between the two functions.
Doesn't fix the issue of equality checking on arrays with different heights yet the same elements, however.

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz May 20, 2016

Member

Fix for equality is better done a different way. Overall fix for Array is better done with the Elm rewrite that is in progress.

Member

evancz commented May 20, 2016

Fix for equality is better done a different way. Overall fix for Array is better done with the Elm rewrite that is in progress.

@evancz evancz closed this May 20, 2016

@turboMaCk turboMaCk referenced this pull request Dec 4, 2016

Closed

Array slice FIX + TEST #765

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