From 8b5747c2a0153aa1175bd4b501905c927bf9e46c Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Thu, 5 Jun 2025 15:15:06 -0400 Subject: [PATCH 1/3] Forward `copy_input(eig[h]_vals, A)` to `copy_input(eig[h]_full, A)` --- src/implementations/eigh.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/implementations/eigh.jl b/src/implementations/eigh.jl index 53837ae5..a1c6c779 100644 --- a/src/implementations/eigh.jl +++ b/src/implementations/eigh.jl @@ -4,7 +4,7 @@ function copy_input(::typeof(eigh_full), A::AbstractMatrix) return copy!(similar(A, float(eltype(A))), A) end function copy_input(::typeof(eigh_vals), A::AbstractMatrix) - return copy!(similar(A, float(eltype(A))), A) + return copy_input(eigh_full, A) end copy_input(::typeof(eigh_trunc), A) = copy_input(eigh_full, A) From e9483c2087d13cdfce69e7fd2b9d400cb47ea0c8 Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Thu, 5 Jun 2025 15:16:08 -0400 Subject: [PATCH 2/3] Update `copy_input(eig_vals, A)` --- src/implementations/eig.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/implementations/eig.jl b/src/implementations/eig.jl index 049438a7..6a48e195 100644 --- a/src/implementations/eig.jl +++ b/src/implementations/eig.jl @@ -4,7 +4,7 @@ function copy_input(::typeof(eig_full), A::AbstractMatrix) return copy!(similar(A, float(eltype(A))), A) end function copy_input(::typeof(eig_vals), A::AbstractMatrix) - return copy!(similar(A, float(eltype(A))), A) + return copy_input(eig_full, A) end copy_input(::typeof(eig_trunc), A) = copy_input(eig_full, A) From 74ecfe3f9d3d78c3b4a7fe27550f50cad5939bc8 Mon Sep 17 00:00:00 2001 From: Matt Fishman Date: Thu, 5 Jun 2025 15:16:25 -0400 Subject: [PATCH 3/3] Bump version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 6736baa5..287f9950 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MatrixAlgebraKit" uuid = "6c742aac-3347-4629-af66-fc926824e5e4" authors = ["Jutho and contributors"] -version = "0.2.2" +version = "0.2.3" [deps] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"