From 449b283e0be89b3fabb577a5421eecb6d98d16c9 Mon Sep 17 00:00:00 2001 From: "Michael H. Scott" Date: Mon, 15 Apr 2024 18:23:37 -0700 Subject: [PATCH] Update ElasticMaterialThermal.cpp --- SRC/material/uniaxial/ElasticMaterialThermal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SRC/material/uniaxial/ElasticMaterialThermal.cpp b/SRC/material/uniaxial/ElasticMaterialThermal.cpp index f668e8e94f..e6b08ad9b1 100644 --- a/SRC/material/uniaxial/ElasticMaterialThermal.cpp +++ b/SRC/material/uniaxial/ElasticMaterialThermal.cpp @@ -316,7 +316,7 @@ ElasticMaterialThermal::setParameter(const char **argv, int argc, Parameter &par param.setValue(Eneg); return param.addObject(3, this); } - else if (strcmp(argv[0], "eta") == 0) { + if (strcmp(argv[0], "eta") == 0) { param.setValue(eta); return param.addObject(4, this); }