Skip to content

Commit

Permalink
Removing exit call in recvSelf
Browse files Browse the repository at this point in the history
  • Loading branch information
mhscott committed Oct 23, 2021
1 parent 54f5b7a commit 616064e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SRC/material/uniaxial/DamperMaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ DamperMaterial::recvSelf(int cTag, Channel &theChannel,
if (theMaterial == 0) {
opserr << "FATAL DamperMaterial::recvSelf() ";
opserr << " could not get a UniaxialMaterial \n";
exit(-1);
//exit(-1);
return -1;
}
theMaterial->setDbTag(dbTag);
theMaterial->recvSelf(cTag, theChannel, theBroker);
Expand Down

0 comments on commit 616064e

Please sign in to comment.