From 8324ebee980e7bdf5777d63374d10d525fcaff1f Mon Sep 17 00:00:00 2001 From: Dimitris Tsapetis Date: Wed, 26 Jul 2023 17:12:09 +0300 Subject: [PATCH] Fixes minor SORM error --- src/UQpy/reliability/taylor_series/SORM.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UQpy/reliability/taylor_series/SORM.py b/src/UQpy/reliability/taylor_series/SORM.py index 4c01a9f1..cc775edf 100644 --- a/src/UQpy/reliability/taylor_series/SORM.py +++ b/src/UQpy/reliability/taylor_series/SORM.py @@ -118,7 +118,7 @@ def _run(self): q = np.zeros(shape=(self.dimension, self.dimension)) # q[:, 0] = normalize(matrix_a[:, 0]) - q[:, 0] = matrix_a[:, 0] / np.linalg.norm() + q[:, 0] = matrix_a[:, 0] / np.linalg.norm(matrix_a[:, 0]) for i in range(1, self.dimension): ai = matrix_a[:, i]