Skip to content

Commit

Permalink
Fixed bug in FECoreBase::GetParameterValue.
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveMaas1978 committed Sep 12, 2024
1 parent 84e3a64 commit d063a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FECore/FECoreBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ FEParamValue FECoreBase::GetParameterValue(const ParamString& s)
{
FEParamDouble& v = p->value<FEParamDouble>();
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());

Expand Down

0 comments on commit d063a86

Please sign in to comment.