From 9feb0572e9dfb852bc6ec855288753786891681a Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Fri, 7 Feb 2025 19:09:51 -0500 Subject: [PATCH 1/2] Explicitly declare type constructor imports These would otherwise give a warning after https://github.com/JuliaLang/julia/pull/57311, but are a good change even independently. --- src/LinearAlgebra.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/LinearAlgebra.jl b/src/LinearAlgebra.jl index fc1081e0..50ad12ed 100644 --- a/src/LinearAlgebra.jl +++ b/src/LinearAlgebra.jl @@ -16,6 +16,7 @@ import Base: USE_BLAS64, abs, acos, acosh, acot, acoth, acsc, acsch, adjoint, as permutedims, permuterows!, power_by_squaring, promote_rule, real, sec, sech, setindex!, show, similar, sin, sincos, sinh, size, sqrt, strides, stride, tan, tanh, transpose, trunc, typed_hcat, vec, view, zero +import Base: AbstractArray, AbstractMatrix, Array, Matrix, using Base: IndexLinear, promote_eltype, promote_op, print_matrix, @propagate_inbounds, reduce, typed_hvcat, typed_vcat, require_one_based_indexing, splat, BitInteger From 4c4f79a9d9137fa4de25d963584ae845caf1668b Mon Sep 17 00:00:00 2001 From: Daniel Karrasch Date: Sat, 8 Feb 2025 11:02:16 +0100 Subject: [PATCH 2/2] Update src/LinearAlgebra.jl --- src/LinearAlgebra.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LinearAlgebra.jl b/src/LinearAlgebra.jl index 50ad12ed..2c76dcdc 100644 --- a/src/LinearAlgebra.jl +++ b/src/LinearAlgebra.jl @@ -16,7 +16,7 @@ import Base: USE_BLAS64, abs, acos, acosh, acot, acoth, acsc, acsch, adjoint, as permutedims, permuterows!, power_by_squaring, promote_rule, real, sec, sech, setindex!, show, similar, sin, sincos, sinh, size, sqrt, strides, stride, tan, tanh, transpose, trunc, typed_hcat, vec, view, zero -import Base: AbstractArray, AbstractMatrix, Array, Matrix, +import Base: AbstractArray, AbstractMatrix, Array, Matrix using Base: IndexLinear, promote_eltype, promote_op, print_matrix, @propagate_inbounds, reduce, typed_hvcat, typed_vcat, require_one_based_indexing, splat, BitInteger