Skip to content
Snippets Groups Projects
Commit 1c75a3b2 authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Bugfix: If some degree of freedom is truncated, then don't do anything for that component

parent bbd539bf
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,11 @@ void TrustRegionGSStep<MatrixType, VectorType>::iterate()
}
} else {
// If the corresponding dof was truncated, then compute no correction
if (diag==0 && r == 0)
continue;
// 1d problem is concave or linear.
// Minimum is attained at one of the boundaries
field_type lBound = obstacles[i].lower(j);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment