Skip to content

Commit 7c2535f

Browse files
committed
added 1e-6 as the _SMALL_TOLERANCE_IMG
1 parent 3ca1c4e commit 7c2535f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyomo/contrib/doe/tests/test_doe_FIM_metrics.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def compute_FIM_metrics(FIM):
1818
# Warn the user if there is a ``large`` imaginary component (should not be)
1919
if abs(E_vals.imag[E_ind]) > _SMALL_TOLERANCE_IMG:
2020
print(
21-
f"Eigenvalue has imaginary component greater than {_SMALL_TOLERANCE_IMG}, contact developers if this issue persists."
21+
"Eigenvalue has imaginary component greater than 1e-6, contact developers if this issue persists."
2222
)
2323

2424
# If the real value is less than or equal to zero, set the E_opt value to nan

0 commit comments

Comments
 (0)