Skip to content

Commit 6ddae0e

Browse files
committed
Try one last time to fix 0.5
1 parent d69627e commit 6ddae0e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/HaarMeasure.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,14 @@ end
6666
#4235–4245 (1994).
6767

6868
using Base.LinAlg: BlasInt
69-
_blasfunc = Base.VERSION < v"0.5-" ? Base.blasfunc : eval(Base, "@blasfunc")
7069
for (s, elty) in (("dlarfg_", Float64),
7170
("zlarfg_", Complex128))
7271

73-
blass = _blasfunc(s)
72+
if Base.VERSION < v"0.5-"
73+
blass = Base.blasfunc(s)
74+
else
75+
blass = eval(Base, :(@blasfunc($s)))
76+
end
7477
@eval begin
7578
function larfg!(n::Int, α::Ptr{$elty}, x::Ptr{$elty}, incx::Int, τ::Ptr{$elty})
7679
ccall(($blass, Base.liblapack_name), Void,

0 commit comments

Comments
 (0)