Skip to content

Commit 3048c18

Browse files
authored
1 parent e18c350 commit 3048c18

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/FixedPointNumbers.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,9 @@ end
206206
rand(::Type{T}) where {T <: FixedPoint} = reinterpret(T, rand(rawtype(T)))
207207
rand(::Type{T}, sz::Dims) where {T <: FixedPoint} = reinterpret(T, rand(rawtype(T), sz))
208208

209-
include("precompile.jl")
210-
_precompile_()
209+
if VERSION >= v"1.1" # work around https://github.com/JuliaLang/julia/issues/34121
210+
include("precompile.jl")
211+
_precompile_()
212+
end
211213

212214
end # module

0 commit comments

Comments
 (0)