Iter + seed

This commit is contained in:
jl777
2019-04-02 05:28:11 -11:00
parent 2417ee8787
commit 9070b3298f
2 changed files with 2 additions and 3 deletions

View File

@@ -1241,7 +1241,6 @@ UniValue prices(const UniValue& params, bool fHelp)
for (i=0; i<maxsamples+daywindow; i++)
{
offset = j*width + i;
//memcpy(prices2,&prices[offset],sizeof(*prices2)*daywindow);
if ( (correlated[i]= komodo_pricecorrelated(rngval,j,&prices[offset],daywindow,prices2)) < 0 )
throw JSONRPCError(RPC_INVALID_PARAMETER, "null correlated price");
}