Skip to content

Commit 09164b4

Browse files
committed
Fix BLAS wrappers with one argument
1 parent 80f16cb commit 09164b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libblas.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ function daxpby(n, da, dx, incx, db, dy, incy)
306306
end
307307

308308
function dcabs1(z)
309-
return ccall((@blasfunc(dcabs1_), libblastrampoline), Float64, (Ref{ComplexF64}), z)
309+
return ccall((@blasfunc(dcabs1_), libblastrampoline), Float64, (Ref{ComplexF64},), z)
310310
end
311311

312312
function dcopy(n, dx, incx, dy, incy)
@@ -565,7 +565,7 @@ function saxpby(n, sa, sx, incx, sb, sy, incy)
565565
end
566566

567567
function scabs1(z)
568-
return ccall((@blasfunc(scabs1_), libblastrampoline), Float32, (Ref{ComplexF32}), z)
568+
return ccall((@blasfunc(scabs1_), libblastrampoline), Float32, (Ref{ComplexF32},), z)
569569
end
570570

571571
function scasum(n, cx, incx)

0 commit comments

Comments
 (0)