Skip to content
Snippets Groups Projects
Commit c4508101 authored by lh1887's avatar lh1887
Browse files

Fix whitespaces in ProjectedBlockGS

There were still some spurious whitespaces left from d49b1348.
parent ff3369b1
No related branches found
No related tags found
1 merge request!31Fix whitespaces in ProjectedBlockGS
Pipeline #14766 passed
...@@ -6,7 +6,7 @@ inline ...@@ -6,7 +6,7 @@ inline
void ProjectedBlockGSStep<MatrixType, VectorType>::iterate() void ProjectedBlockGSStep<MatrixType, VectorType>::iterate()
{ {
assert(hasObstacle_!=nullptr); assert(hasObstacle_!=nullptr);
if (hasObstacle_->size()!= (unsigned int)this->x_->size()) if (hasObstacle_->size()!= (unsigned int)this->x_->size())
DUNE_THROW(SolverError, "Size of hasObstacle (" << hasObstacle_->size() DUNE_THROW(SolverError, "Size of hasObstacle (" << hasObstacle_->size()
<< ") doesn't match solution vector (" << this->x_->size() << ")"); << ") doesn't match solution vector (" << this->x_->size() << ")");
...@@ -49,7 +49,7 @@ void ProjectedBlockGSStep<MatrixType, VectorType>::iterate() ...@@ -49,7 +49,7 @@ void ProjectedBlockGSStep<MatrixType, VectorType>::iterate()
// Solve the local constraint minimization problem // Solve the local constraint minimization problem
// We use a projected Gauss-Seidel, for lack of anything better // We use a projected Gauss-Seidel, for lack of anything better
assert(obstacles_!=nullptr); assert(obstacles_!=nullptr);
Obstacle defectObstacle = (*obstacles_)[i]; Obstacle defectObstacle = (*obstacles_)[i];
defectObstacle -= x; defectObstacle -= x;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment