Skip to content

Commit

Permalink
enable test based on Smiley example 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
gwater committed Apr 26, 2020
1 parent 80328b4 commit 1f5736e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/contractors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ end
Multi-variable Newton operator.
"""
function 𝒩(f::Function, jacobian::Function, X::IntervalBox, α) # multidimensional Newton operator
m = IntervalBox(Interval.(mid(X, α)))
m = Interval.(mid(X, α))
J = jacobian(X)

return IntervalBox(m .- (J \ f(m)))
Expand Down
2 changes: 1 addition & 1 deletion test/test_smiley.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const method = Newton # NOTE: Bisection method performs badly in all examples
# no reference data for roots given
end

for example in (SmileyExample52, SmileyExample54) #, SmileyExample55)
for example in (SmileyExample52, SmileyExample54, SmileyExample55)
@testset "$(example.title)" begin
roots_found = roots(example.f, example.region, method, tol)
@test length(roots_found) == length(example.known_roots)
Expand Down

0 comments on commit 1f5736e

Please sign in to comment.