Skip to content

Commit

Permalink
Removing exit call
Browse files Browse the repository at this point in the history
  • Loading branch information
mhscott committed Oct 23, 2021
1 parent 62f930a commit 7ca33e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions SRC/material/uniaxial/PathIndependentMaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ PathIndependentMaterial::PathIndependentMaterial(int tag, UniaxialMaterial &mate

if (theMaterial == 0) {
opserr << "PathIndependentMaterial::PathIndependentMaterial -- failed to get copy of material\n";
exit(-1);
//exit(-1);
}
}

Expand Down Expand Up @@ -235,7 +235,8 @@ PathIndependentMaterial::recvSelf(int cTag, Channel &theChannel,
theMaterial = theBroker.getNewUniaxialMaterial(classTags(0));
if (theMaterial == 0) {
opserr << "PathIndependentMaterial::recvSelf -- could not get a UniaxialMaterial\n";
exit(-1);
//exit(-1);
return -1;
}
}

Expand Down

0 comments on commit 7ca33e4

Please sign in to comment.