bug about function bootstrap_diff
kongyueyiyun opened this issue · comments
Describe the bug
when set opt@sample_method = 0 and the rank of data great than 1, return value will always be 0, no matter what opt@sample_size_x is set.
Provide the following:
it seems like codes near line 932 of the bootstrap.ncl are wrong.
Computing environment
OS: Linux
OS version:Cent OS 6.10
NCL Version: 6.6.2
Installation method:binary from NCAR website
Additional context
change iwx = bootstrap_indices(NX,NX,opt) to iwx = bootstrap_indices(NX,NNX,opt) would reslove this problem.