Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
faf1049504
  1. 2
      iguana/iguana_bundles.c

2
iguana/iguana_bundles.c

@ -616,7 +616,7 @@ int32_t iguana_setmaxbundles(struct iguana_info *coin)
{ {
completed = cbrt(((double)coin->current->hdrsi + 1) / coin->bundlescount); completed = cbrt(((double)coin->current->hdrsi + 1) / coin->bundlescount);
coin->MAXBUNDLES = (double)(coin->endPEND - coin->startPEND)*completed + coin->startPEND; coin->MAXBUNDLES = (double)(coin->endPEND - coin->startPEND)*completed + coin->startPEND;
printf("MAXBUNDLES %d (%d -> %d) completed %.3f\n",coin->MAXBUNDLES,coin->startPEND,coin->endPEND,completed); //printf("MAXBUNDLES %d (%d -> %d) completed %.3f\n",coin->MAXBUNDLES,coin->startPEND,coin->endPEND,completed);
} }
return(coin->MAXBUNDLES); return(coin->MAXBUNDLES);
} }

Loading…
Cancel
Save