Skip to content
Prev 32023 / 63424 Next

Error in FrF2 example on Mac OS

Ulrike Gr?mping wrote:
Probably a rounding issue on different platforms?
I guess the test should be something like:

if (!is.null(nruns)){
   if(!isTRUE(all.equal(log2(nruns) %% 1, 0)))
     stop("nruns must be a power of 2.")
}


Uwe