Skip to content

Commit ff6f3ac

Browse files
authored
Allow for fast predicates (#17)
1 parent 8c3dfef commit ff6f3ac

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name = "AdaptivePredicates"
22
uuid = "35492f91-a3bd-45ad-95db-fcad7dcfedb7"
33
authors = ["Valentin Churavy <[email protected]> and Daniel VandenHeuvel <[email protected]"]
4-
version = "1.0.0"
4+
version = "1.1.0"
55

66
[compat]
7-
julia = "1.8"
7+
julia = "1.6"
88

99
[workspace]
1010
projects = ["test"]

src/AdaptivePredicates.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ include("predicates.jl")
88

99
export orient2, orient3, incircle, insphere
1010
export orient2p, orient3p, incirclep, inspherep
11+
export orient2fast, orient3fast, incirclefast, inspherefast
1112

1213
@static if VERSION v"1.11.0-DEV.469"
13-
eval(Meta.parse("public orient2, orient3, incircle, insphere, orient2p, orient3p, incirclep, inspherep"))
14+
eval(Meta.parse("public orient2, orient3, incircle, insphere, orient2p, orient3p, incirclep, inspherep, orient2fast, orient3fast, incirclefast, inspherefast"))
1415
end
1516

1617
end # module

test/runtests.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ end
102102

103103
check_range(x::Float64) = iszero(x) || exponent(abs(x)) -142:201 # Ranges are explained in the README
104104
check_range(x::Float32) = iszero(x) || exponent(abs(x)) -24:24 # Don't know the exact range for Float32, it might be [-3, 24] but ExactPredicates doesn't use Float32 anyway for me to confirm.
105-
106105
@testset "Supposition tests" begin
107106
for (T, Tn) in ((Float64, 64), (Float32, 32))
108107
fgen = Data.Floats{T}(infs=false, nans=false)

0 commit comments

Comments
 (0)