Skip to content

Commit cdc6eaf

Browse files
committed
[LinearAlgebra] Fix libblas_name test
Use `Int` as type for integer arguments, instead of `Cint`.
1 parent a93ac54 commit cdc6eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/LinearAlgebra/test/blas.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ end
718718
# https://github.com/JuliaLang/julia/issues/48427 again.
719719
@testset "libblas_name" begin
720720
dot_sym = dlsym(dlopen(Base.libblas_name), "cblas_ddot" * (Sys.WORD_SIZE == 64 ? "64_" : ""))
721-
@test 23.0 === @ccall $(dot_sym)(2::Cint, [2.0, 3.0]::Ref{Cdouble}, 1::Cint, [4.0, 5.0]::Ref{Cdouble}, 1::Cint)::Cdouble
721+
@test 23.0 === @ccall $(dot_sym)(2::Int, [2.0, 3.0]::Ref{Cdouble}, 1::Int, [4.0, 5.0]::Ref{Cdouble}, 1::Int)::Cdouble
722722
end
723723

724724
end # module TestBLAS

0 commit comments

Comments
 (0)