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

[Cleanup] Add a warning to the code

parent 40c34f28
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,8 @@ template <size_t dimension> class LocalFriction {
Interval<double> &D) const {
double const xnorm = x.two_norm();
if (xnorm <= 0.0)
D[0] = D[1] = 0.0;
D[0] = D[1] = 0.0; // WARNING: we assume that the outer
// function approaches zero superlinearly
else
D[0] = D[1] = func->differential(xnorm) * dotFirstNormalised(x, v);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment