Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing nested parameters? #107

Open
kavir1698 opened this issue May 9, 2023 · 0 comments
Open

Passing nested parameters? #107

kavir1698 opened this issue May 9, 2023 · 0 comments

Comments

@kavir1698
Copy link

I have a system of ODEs which takes a nested array as an input parameter. To use the gsa function, I need to provide the bounds as a vector of tuples. However, if I pass a nested vector of tuples where each element is a vector that contains tuples, the gsa function does not work. Is there a solution to this issue?

For example, let's say I have the following nested array as my input parameter:

input_parameter = [[1,2],[3,4]]

If I pass the nested array as the bounds like this:

bounds = [[(1,2),(3,4)],[(5,6),(7,8)]]
gsa(f, Sobol(), bounds, samples=100)

The gsa function does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant