Skip to content
Snippets Groups Projects
Commit ac950fb2 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Do not implement differential twice

parent 70a7ff91
No related branches found
No related tags found
No related merge requests found
......@@ -81,12 +81,7 @@ class RuinaFunction : public NiceFunction {
/* see above */
double virtual rightDifferential(double s) const {
double const arg = eta * s / h;
if (arg <= rho)
return 0;
return coefficient * normalStress *
(a * std::log(arg) + mu + compound_state);
return leftDifferential(s);
}
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment