Skip to content
Snippets Groups Projects
Commit bce16b9a authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Merge branch 'fix/scaling-parameter' into 'master'

Divide the regularization parameter through the scaling parameter in the PN...

See merge request !133
parents 3d3f2abf 3ea924df
No related branches found
No related tags found
1 merge request!133Divide the regularization parameter through the scaling parameter in the PN...
Pipeline #12787 failed
......@@ -281,7 +281,7 @@ void RiemannianProximalNewtonSolver<Basis,TargetSpace,Assembler>::solve()
// Add the regularization - Identity Matrix for now
for (std::size_t i=0; i<stiffnessMatrix.N(); i++)
for(int j=0; j<blocksize; j++)
stiffnessMatrix[i][i][j][j] += regularization*scaling_[j];
stiffnessMatrix[i][i][j][j] += regularization/scaling_[j];
innerSolver_->setProblem(stiffnessMatrix,corr_global,rhs_global);
innerSolver_->preprocess();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment