From 155c3a1b6a35cad25f4de87d856319e5d4a07bcf Mon Sep 17 00:00:00 2001 From: sanderdemeyer Date: Tue, 30 Jun 2026 15:26:33 +0200 Subject: [PATCH] restrict type exponential --- src/implementations/exponential.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/implementations/exponential.jl b/src/implementations/exponential.jl index e675cc05..cbaebeed 100644 --- a/src/implementations/exponential.jl +++ b/src/implementations/exponential.jl @@ -55,7 +55,7 @@ function exponential!(A::AbstractMatrix, expA::AbstractMatrix, alg::MatrixFuncti return expA end -exponential!(A, expA, alg::MatrixFunctionViaEigh) = exponential!((one(eltype(A)), A), expA, alg) +exponential!(A::AbstractMatrix, expA::AbstractMatrix, alg::MatrixFunctionViaEigh) = exponential!((one(eltype(A)), A), expA, alg) exponential!(A::AbstractMatrix, expA::AbstractMatrix, alg::MatrixFunctionViaEig) = exponential!((one(eltype(A)), A), expA, alg) function exponential!((τ, A)::Tuple{Number, AbstractMatrix}, expA::AbstractMatrix, alg::AbstractAlgorithm)