From 2a68fec43e5e70d3e034041fa772d5f54e64a0ee Mon Sep 17 00:00:00 2001 From: yisangriB Date: Mon, 9 Sep 2024 18:23:57 -0700 Subject: [PATCH] sy - fixing a bug in surrogate prediction --- modules/performFEM/surrogateGP/gpPredict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/performFEM/surrogateGP/gpPredict.py b/modules/performFEM/surrogateGP/gpPredict.py index 5582a5414..1d6ff956c 100644 --- a/modules/performFEM/surrogateGP/gpPredict.py +++ b/modules/performFEM/surrogateGP/gpPredict.py @@ -324,7 +324,7 @@ def get_stochastic_variance(X, Y, x, ny): # noqa: N803 not name_values[1] .replace('.', '', 1) .replace('e', '', 1) - .replace('-', '', 1) + .replace('-', '', 2) .replace('+', '', 1) .isdigit() ):