From adcd105ea0741adbe7804ffff7a43c51d11c14cf Mon Sep 17 00:00:00 2001 From: Benjamin Maier Date: Wed, 11 Oct 2023 11:43:59 +0200 Subject: [PATCH] Fix copy error Signed-off-by: Benjamin Maier --- src/pylife/strength/damage_parameter.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pylife/strength/damage_parameter.py b/src/pylife/strength/damage_parameter.py index 22d6d095..e1d2b045 100644 --- a/src/pylife/strength/damage_parameter.py +++ b/src/pylife/strength/damage_parameter.py @@ -163,6 +163,7 @@ def __init__(self, collective, assessment_parameters, component_woehler_curve_P_ @property def collective(self): + return self._collective def _compute_values(self): """Compute the P_RAJ damage parameter according to FKM nonlinear. @@ -553,7 +554,4 @@ def optimize(row): # eq. (2.9-125) self._assessment_parameters.P_RAJ_klass_max = self._calculate_P_RAJ(delta_stress, delta_strain) - - - - return self._collective \ No newline at end of file + \ No newline at end of file