From c52d24debb93c39e88a051596a5b8a7690c68781 Mon Sep 17 00:00:00 2001 From: Viktor Svensson Date: Thu, 15 Feb 2024 14:42:43 +0100 Subject: [PATCH] fix exponential! example --- src/exp.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/exp.jl b/src/exp.jl index ff86613..9ad97b6 100644 --- a/src/exp.jl +++ b/src/exp.jl @@ -39,11 +39,11 @@ Example ```julia-repl julia> A = randn(50, 50); -julia> Acopy = B * 2; +julia> B = A * 2; julia> method = ExpMethodHigham2005(); -julia> cache = alloc_mem(A, method); # Main allocation done here +julia> cache = ExponentialUtilities.alloc_mem(A, method); # Main allocation done here julia> E1 = exponential!(A, method, cache) # Very little allocation here