The line mode = stats.mode(y)[0][0] gives the error IndexError: invalid index to scalar variable.
This line occurs in oct.py kube 181 and also in the other mip models
This is with scipy version 1.13.1
I could fix it by replacing the line with mode = stats.mode(y)[0]
The line
mode = stats.mode(y)[0][0]gives the errorIndexError: invalid index to scalar variable.This line occurs in oct.py kube 181 and also in the other mip models
This is with scipy version 1.13.1
I could fix it by replacing the line with
mode = stats.mode(y)[0]