Skip to content

Commit

Permalink
fix ambiguities as in '1./1.'
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic committed Aug 8, 2018
1 parent 2e4e338 commit 3f8e803
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.], p)
@test (N[1., 1.], p)
@test (N[3., 2.], p)
@test (N[5./4., 7./4.], p)
@test (N[5. / 4., 7. / 4.], p)
@test !(N[4., 1.], p)
@test !(N[5., 2.], p)
@test !(N[3., 4.], p)
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 3f8e803

Please sign in to comment.