Skip to content

SALib 1.4.5 upgrade issue - index 32 is out of bounds for axis 0 with size 32 #492

@prasadkumar0590

Description

@prasadkumar0590

Hi Team, we have 15 input problem and we were able to run the problem on SALib 1.3.8 but upgrading to 1.4.5 we are getting below error

index 32 is out of bounds for axis 0 with size 32

we are getting error in analyse/fast.py line number 95

def compute_orders(outputs, N, M, omega):
f = np.fft.fft(outputs)
Sp = np.power(np.absolute(f[np.arange(1, int((N + 1) / 2))]) / N, 2) # error line

Please let us know if you need some more information. Your help will be appreciated greatly.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions