Skip to content
Snippets Groups Projects
Commit 6f83ae4f authored by maxka's avatar maxka
Browse files

Disable regularization per default to avoid unintentional usage.

Thanks to Lasse for pointing that out.
parent 87e70a3c
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -208,7 +208,9 @@ auto truncateSymmetrically(LinearSolver&& linearSolver) {
namespace LocalSolverRegularizer {
static constexpr double defaultDiagRegularizeParameter = 1e-10;
// a suitable value for defaultDiagRagularization could be 1e-10
// nevertheless, the default is 0 to avoid unintentional regularization
static constexpr double defaultDiagRegularizeParameter = 0;
// Note: move-capture, auto-return and auto-lambda-arguments require C++14
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment