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

NumPy is imported twice in FORM example #194

Closed
connor-krill opened this issue Nov 16, 2022 · 1 comment
Closed

NumPy is imported twice in FORM example #194

connor-krill opened this issue Nov 16, 2022 · 1 comment
Assignees
Labels

Comments

@connor-krill
Copy link
Contributor

Describe the bug
In the Auxiliary File for the FORM.py example, numpy is imported once at the beginning of the script and a second time inside of a function.

To Reproduce
See the auxiliary file for the FORM.py example. Link:
https://uqpyproject.readthedocs.io/en/latest/auto_examples/reliability/form/pfn.html#sphx-glr-auto-examples-reliability-form-pfn-py

Expected behavior
The package should only be imported at the beginning of the file. It does not need to be imported a second time inside a function definition.

Desktop (please complete the following information):
UQpy version 4.0.5

@connor-krill
Copy link
Contributor Author

This has been resolved.

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

No branches or pull requests

1 participant