From d063a860739d03eaf5c87237fa26cfd882d99405 Mon Sep 17 00:00:00 2001 From: SteveMaas1978 Date: Thu, 12 Sep 2024 15:02:26 -0600 Subject: [PATCH] Fixed bug in FECoreBase::GetParameterValue. --- FECore/FECoreBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FECore/FECoreBase.cpp b/FECore/FECoreBase.cpp index 659d7d286..84e3d5827 100644 --- a/FECore/FECoreBase.cpp +++ b/FECore/FECoreBase.cpp @@ -551,7 +551,7 @@ FEParamValue FECoreBase::GetParameterValue(const ParamString& s) { FEParamDouble& v = p->value(); if (v.isConst()) paramVal = FEParamValue(p, &v.constValue(), FE_PARAM_DOUBLE); - else return FEParamValue(); + else paramVal = FEParamValue(p, p->data_ptr(), p->type()); } else paramVal = FEParamValue(p, p->data_ptr(), p->type());