From 513a95fabeca9bf9704a9e8a01639422d7ffb393 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 27 Mar 2016 18:37:57 -0300 Subject: [PATCH] test --- iguana/iguana_unspents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_unspents.c b/iguana/iguana_unspents.c index 14690bf1a..9f8f4e08f 100755 --- a/iguana/iguana_unspents.c +++ b/iguana/iguana_unspents.c @@ -193,7 +193,7 @@ uint32_t iguana_sparseadd(uint8_t *bits,uint32_t ind,int32_t width,uint32_t tabl printf("%7d.[%-2d %8d] %5.3f sparse searches.%-10ld iters.%-10ld hits.%-10ld %5.2f%% max.%ld\n",ramchain->height,width,tablesize,(double)ramchain->sparseiters/(1+ramchain->sparsesearches),ramchain->sparsesearches,ramchain->sparseiters,ramchain->sparsehits,100.*(double)ramchain->sparsehits/(1+ramchain->sparsesearches),ramchain->sparsemax+1); if ( width == 32 ) { - table = (uint32_t *)ptr; + table = (uint32_t *)bits; offset = (int32_t)(bitoffset >> 5); for (i=0; i