Skip to content

Commit a2fe09e

Browse files
maleadtdkarrasch
authored andcommitted
Convert hpmv input to a BlasInt. (#34360)
1 parent 09d617a commit a2fe09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/LinearAlgebra/src/blas.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ function hpmv!(uplo::AbstractChar,
880880
if length(AP) < Int64(N*(N+1)/2)
881881
throw(DimensionMismatch("Packed Hermitian matrix A has size smaller than length(x) = $(N)."))
882882
end
883-
GC.@preserve x y AP hpmv!(uplo, N, convert(T, α), AP, pointer(x), BlasInt(stride(x, 1)), convert(T, β), pointer(y), BlasInt(stride(y, 1)))
883+
GC.@preserve x y AP hpmv!(uplo, BlasInt(N), convert(T, α), AP, pointer(x), BlasInt(stride(x, 1)), convert(T, β), pointer(y), BlasInt(stride(y, 1)))
884884
y
885885
end
886886

0 commit comments

Comments
 (0)