Skip to content

Commit

Permalink
CsCheck 3.0.0-rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLloyd committed Nov 1, 2023
1 parent 88d37d1 commit c9196a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Optimize.MinimumTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ let all =

test_solver "brent_7" 1e-7 Optimize.Minimum_Brent (Check.between 5310 5313)
test_solver "brent_9" 1e-9 Optimize.Minimum_Brent (Check.between 6390 6433)
test_solver "brent_11" 1e-11 Optimize.Minimum_Brent (Check.between 7582 7608)
test_solver "brent_11" 1e-11 Optimize.Minimum_Brent (Check.between 7582 7620)

let minimum_bracketed (atol, rtol, f:Func<_,_>, a, b, c) =
Optimize.Minimum_Bracketed(atol, rtol, f, a, f.Invoke(a), b, f.Invoke(b), c, f.Invoke(c), Double.PositiveInfinity, 0.0)
Expand All @@ -99,7 +99,7 @@ let all =
let minimum (atol, rtol, f:Func<float,float>, _, b, _) = Optimize.Minimum(atol, rtol, f, b)

test_solver "hybrid_7" 1e-7 minimum (Check.between 2250 2273)
test_solver "hybrid_9" 1e-9 minimum (Check.between 2846 2863)
test_solver "hybrid_9" 1e-9 minimum (Check.between 2840 2863)
test_solver "hybrid_11" 1e-11 minimum (Check.between 3867 3963)

let MathNet_Minimum tol func (x:float[]) =
Expand Down

0 comments on commit c9196a3

Please sign in to comment.