}
randomArray[ipull] = ipullRandom;
}
- /*for (ipull=0; ipull<nPull; ipull++)
- printf("%d ",randomArray[ipull]); printf("\n"); */
}
/*! \brief Set pull group information of a synthetic histogram
switch (opt->bsMethod)
{
case bsMethod_hist:
- snew(randomArray, nAllPull);
printf("\n\nWhen computing statistical errors by bootstrapping entire histograms:\n");
please_cite(stdout, "Hub2006");
break;
{
case bsMethod_hist:
/* bootstrap complete histograms from given histograms */
+ srenew(randomArray, nAllPull);
getRandomIntArray(nAllPull, opt->histBootStrapBlockLength, randomArray, &opt->rng);
for (i = 0; i < nAllPull; i++)
{