Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Nov 4, 2024
1 parent 28fb921 commit c89c350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Material/Material1D/vonMises/VAFCRP1D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int VAFCRP1D::partial_loading(double& fragment, const vec& start_history, const
const auto error = inf_norm(incre);
if(1u == counter) ref_error = error;
suanpan_debug("Local iteration error: {:.5E}.\n", error);
if(error < tolerance * ref_error || ((error < tolerance || inf_norm(residual) < tolerance) && counter > 5u)) {
if(error < tolerance * ref_error || ((error < tolerance || inf_norm(residual) < tolerance * yield) && counter > 5u)) {
if(xi > 0.) {
beta += a * gamma;

Check warning on line 94 in Material/Material1D/vonMises/VAFCRP1D.cpp

View check run for this annotation

Codecov / codecov/patch

Material/Material1D/vonMises/VAFCRP1D.cpp#L94

Added line #L94 was not covered by tests

Expand Down

0 comments on commit c89c350

Please sign in to comment.