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

Merge branch 'feature/whitespace-fix' into 'master'

Fix whitespaces in ProjectedBlockGS

See merge request agnumpde/dune-solvers!31
parents ff3369b1 c4508101
Branches
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ inline
void ProjectedBlockGSStep<MatrixType, VectorType>::iterate()
{
assert(hasObstacle_!=nullptr);
if (hasObstacle_->size()!= (unsigned int)this->x_->size())
DUNE_THROW(SolverError, "Size of hasObstacle (" << hasObstacle_->size()
<< ") doesn't match solution vector (" << this->x_->size() << ")");
......@@ -49,7 +49,7 @@ void ProjectedBlockGSStep<MatrixType, VectorType>::iterate()
// Solve the local constraint minimization problem
// We use a projected Gauss-Seidel, for lack of anything better
assert(obstacles_!=nullptr);
Obstacle defectObstacle = (*obstacles_)[i];
defectObstacle -= x;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment