UQpy icon indicating copy to clipboard operation
UQpy copied to clipboard

NumPy is imported twice in FORM example

Open connor-krill opened this issue 3 years ago • 0 comments

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 avatar Nov 16 '22 18:11 connor-krill