Skip to content

Commit

Permalink
Merge pull request #499 from JuliaReach/schillic/dot_div
Browse files Browse the repository at this point in the history
#121 - Fix ambiguities as in '1./1.'
  • Loading branch information
schillic authored Aug 8, 2018
2 parents 74bc3aa + f7a2782 commit bb3f084
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/unit_CartesianProduct.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ for N in [Float64, Float32, Rational{Int}]
@test (N[2., 3., -.8, .9], cp)
@test (N[1., 1., -1., 0.], cp)
@test (N[3., 2., 0., 1.], cp)
@test (N[5./4., 7./4., 1., 1.], cp)
@test (N[5. / 4., 7. / 4., 1., 1.], cp)
@test !(N[4., 1., 0., 0.], cp)
@test !(N[5., 2., 0., 0.], cp)
@test !(N[3., 4., 0., 0.], cp)
Expand Down
2 changes: 1 addition & 1 deletion test/unit_Polygon.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ for N in [Float64, Float32, Rational{Int}]
@test (N[2., 3.], hp)
@test (N[1., 1.], hp)
@test (N[3., 2.], hp)
@test (N[5./4., 7./4.], hp)
@test (N[5. / 4., 7. / 4.], hp)
@test !(N[4., 1.], hp)
@test !(N[5., 2.], hp)
@test !(N[3., 4.], hp)
Expand Down
2 changes: 1 addition & 1 deletion test/unit_Polytope.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for N in [Float64, Rational{Int}, Float32]
@test σ(d, p) == N[0., 0.]

# membership
@test (N[5./4., 7./4.], p)
@test (N[5. / 4., 7. / 4.], p)
@test !(N[4., 1.], p)

# singleton list (only available with Polyhedra library)
Expand Down

0 comments on commit bb3f084

Please sign in to comment.