|
1 | 1 | function _precompile_()
|
2 | 2 | ccall(:jl_generating_output, Cint, ()) == 1 || return nothing
|
3 |
| - precompile(normal_mesh, (Tesselation{3,Float32,Cylinder{3,Float32},1},)) |
4 |
| - precompile(normal_mesh, (Tesselation{3,Float32,HyperSphere{3,Float32},1},)) |
5 |
| - precompile(normal_mesh, (HyperSphere{3,Float32},)) |
| 3 | + @assert precompile(HyperRectangle{2,Float32}, (Int, Int, Int, Int)) |
| 4 | + @assert precompile(==, (HyperRectangle{2,Float32}, HyperRectangle{2,Float32})) |
| 5 | + @assert precompile(normal_mesh, (Tesselation{3,Float32,Cylinder{3,Float32},1},)) |
| 6 | + @assert precompile(normal_mesh, (Tesselation{3,Float32,HyperSphere{3,Float32},1},)) |
| 7 | + @assert precompile(normal_mesh, (HyperSphere{3,Float32},)) |
| 8 | + |
| 9 | + if Base.VERSION >= v"1.6.0-DEV.1083" |
| 10 | + @assert precompile(triangle_mesh, (Polygon{2, Float32, Point2f0, LineString{2, Float32, Point2f0, |
| 11 | + Base.ReinterpretArray{Line{2, Float32}, 1, Tuple{Point2f0, Point2f0}, TupleView{Tuple{Point2f0, Point2f0}, 2, 1, Vector{Point2f0}}, false}}, |
| 12 | + Vector{LineString{2, Float32, Point2f0, Base.ReinterpretArray{Line{2, Float32}, 1, Tuple{Point2f0, Point2f0}, TupleView{Tuple{Point2f0, Point2f0}, 2, 1, Vector{Point2f0}}, false}}}},)) |
| 13 | + else |
| 14 | + @assert precompile(triangle_mesh, (Polygon{2, Float32, Point2f0, LineString{2, Float32, Point2f0, |
| 15 | + Base.ReinterpretArray{Line{2, Float32}, 1, Tuple{Point2f0, Point2f0}, TupleView{Tuple{Point2f0, Point2f0}, 2, 1, Vector{Point2f0}}}}, |
| 16 | + Vector{LineString{2, Float32, Point2f0, Base.ReinterpretArray{Line{2, Float32}, 1, Tuple{Point2f0, Point2f0}, TupleView{Tuple{Point2f0, Point2f0}, 2, 1, Vector{Point2f0}}}}}},)) |
| 17 | + end |
| 18 | + |
| 19 | + @assert precompile(split_intersections, (Vector{Point2f0},)) |
6 | 20 | end
|
0 commit comments