When trying to create an optimal LHC sampling plan for k>2, I am getting an IndexError from numpy in the samplingplan.perturb function. Upon closed inspection, this seems to be happening because math.floor returns a float instead of an int. Wrapping m.floor in int() seems to solve the problem.
When trying to create an optimal LHC sampling plan for k>2, I am getting an IndexError from numpy in the samplingplan.perturb function. Upon closed inspection, this seems to be happening because math.floor returns a float instead of an int. Wrapping m.floor in int() seems to solve the problem.