From c6475fe1c2bbc2acaf973f207f99f2dd472d534d Mon Sep 17 00:00:00 2001 From: Ulf Norell Date: Mon, 26 Aug 2019 11:57:21 +0200 Subject: [PATCH] Fix typo --- src/aeb_fate_maps.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aeb_fate_maps.erl b/src/aeb_fate_maps.erl index 7c66758..2b62f81 100644 --- a/src/aeb_fate_maps.erl +++ b/src/aeb_fate_maps.erl @@ -76,8 +76,8 @@ allocate_store_maps(Used, ?FATE_STORE_MAP(Cache, _Id) = Val, Maps) when Cache =: {Used, Val, Maps}; allocate_store_maps(Used, ?FATE_STORE_MAP(Cache, Id), Maps) -> {NewId, Used1} = next_id(Used), - {Used1, Cache1, Maps1} = allocate_store_maps_m(Used1, Cache, Maps), - {Used1, ?FATE_STORE_MAP(#{}, NewId), Maps1#{NewId => ?FATE_STORE_MAP(Cache1, Id)}}. + {Used2, Cache1, Maps1} = allocate_store_maps_m(Used1, Cache, Maps), + {Used2, ?FATE_STORE_MAP(#{}, NewId), Maps1#{NewId => ?FATE_STORE_MAP(Cache1, Id)}}. allocate_store_maps_l(Used, [], Maps) -> {Used, [], Maps}; allocate_store_maps_l(Used, [H | T], Maps) ->