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

Fix up 5e3d6d4f84b78975b566367c7da611b9c6260967

parent 99a07e46
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ class MyNonlinearity {
void directionalSubDiff(VectorType const u, VectorType const v,
Interval<double> &D) const {
if (u == SmallVector(0.0)) {
D[0] = D[1] = func_.rightDifferential(0);
D[0] = D[1] = func_.rightDifferential(0) * v.two_norm();
return;
}
double const un = u.two_norm();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment