Skip to content

Commit c4eee40

Browse files
committed
move precompile to the end of the module
1 parent 6c2a68c commit c4eee40

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/FixedPointNumbers.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -619,13 +619,13 @@ function rand!(r::AbstractRNG, A::Array{X}, ::SamplerType{X}) where {T, X <: Fix
619619
A
620620
end
621621

622+
if !isdefined(Base, :get_extension)
623+
include("../ext/FixedPointNumbersStatisticsExt.jl")
624+
end
625+
622626
if VERSION >= v"1.1" # work around https://github.com/JuliaLang/julia/issues/34121
623627
include("precompile.jl")
624628
_precompile_()
625629
end
626630

627-
if !isdefined(Base, :get_extension)
628-
include("../ext/FixedPointNumbersStatisticsExt.jl")
629-
end
630-
631631
end # module

0 commit comments

Comments
 (0)