Permalink
Browse files

Fix a representation type error.

  • Loading branch information...
1 parent 1c4731d commit 37cc3831ca7aceef8872c69106dfa34aeb857666 @jlouis committed Feb 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hamt.erl
View
@@ -76,7 +76,7 @@ is_element(Bit, E, H, {full, Tuple}) ->
mk_partial(Bit, Hash, Val) ->
N = search_mask(Bit, Hash),
- {partial, 1, orddict:store(N, {leaf, Hash, [Val]}, orddict:new())}.
+ {partial, 1, orddict:store(N, {leaf, Hash, Val}, orddict:new())}.
mk_tuple(D) ->
list_to_tuple(mk_tuple(0, orddict:to_list(D))).

0 comments on commit 37cc383

Please sign in to comment.