Skip to content

Commit 4981ac0

Browse files
committed
fix step7 runtime error
1 parent e7ba3f7 commit 4981ac0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/MateSystem/User1Material.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void User1Material::InitMaterialProperties(const vector<double> &InputParams, co
1919
//*** get rid of unused warning
2020
//***************************************************
2121
if(InputParams.size()||elmtinfo.dt||elmtsoln.gpU[0]||Mate.GetScalarMate().size()){}
22-
22+
Mate.Rank2Materials("stress").SetToZeros();
2323
}
2424

2525
//********************************************************************

0 commit comments

Comments
 (0)