Skip to content

Commit

Permalink
Update SimpleFractureMaterial.cpp
Browse files Browse the repository at this point in the history
Small fix in recvSelf
  • Loading branch information
mhscott committed Oct 23, 2021
1 parent d1c50b8 commit 4c9b88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SRC/material/uniaxial/SimpleFractureMaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ SimpleFractureMaterial::recvSelf(int cTag, Channel &theChannel,

maxStrain = dataVec(0);

if (dataVec(2) == 1.0)
if (dataVec(1) == 1.0)
Cfailed = true;
else
Cfailed = false;
Expand Down

0 comments on commit 4c9b88a

Please sign in to comment.