Skip to content

Commit 11229a8

Browse files
committed
Make version check static.
1 parent 619ab3b commit 11229a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/host/linalg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ function generic_matmatmul!(C::AbstractArray{R}, A::AbstractArray{T}, B::Abstrac
372372
C
373373
end
374374

375-
if VERSION < v"1.12.0-"
375+
@static if VERSION < v"1.12.0-"
376376
function LinearAlgebra.generic_matvecmul!(C::AbstractGPUVector, tA::AbstractChar, A::AbstractGPUMatrix, B::AbstractGPUVector, _add::MulAddMul = MulAddMul())
377377
generic_matmatmul!(C, wrap(A, tA), B, _add)
378378
end

0 commit comments

Comments
 (0)