pyKriging
pyKriging copied to clipboard
IndexError in samplingplan.perturb
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.
Cool, I'll fix and push right away. Thanks for the bug report and fix!