Commit 5b6a8d49 authored by graeser's avatar graeser Committed by graeser
Browse files

^ means binary xor instead of pow.

Hence we have 10^-12=-2

[[Imported from SVN: r3581]]
parent 206ff8f9
......@@ -6,7 +6,7 @@
class Bisection
{
public:
Bisection(double acceptError = 0.0, double acceptFactor = 1.0, double requiredResidual = 10^-12, bool fastQuadratic = true, double safety = 1e-14) :
Bisection(double acceptError = 0.0, double acceptFactor = 1.0, double requiredResidual = 1e-12, bool fastQuadratic = true, double safety = 1e-14) :
acceptError_(acceptError),
fastQuadratic_(fastQuadratic),
acceptFactor_(acceptFactor),
......
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