Commit bbe3371b authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Add method to set truncation tolerance

parent 1fbd2501
Pipeline #41672 passed with stage
in 14 minutes and 37 seconds
......@@ -96,6 +96,11 @@ public:
truncationTolerance_(1e-10)
{}
void setTruncationTolerance(double tolerance)
{
truncationTolerance_ = tolerance;
}
void bind(const Vector& x)
{
negativeGradient_ = derivative(f_)(x);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment