Skip to content
Snippets Groups Projects
Commit bbe3371b authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Add method to set truncation tolerance

parent 1fbd2501
No related branches found
No related tags found
No related merge requests found
Pipeline #41672 passed
......@@ -96,6 +96,11 @@ public:
truncationTolerance_(1e-10)
{}
void setTruncationTolerance(double tolerance)
{
truncationTolerance_ = tolerance;
}
void bind(const Vector& x)
{
negativeGradient_ = derivative(f_)(x);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment