Skip to content

Commit

Permalink
fix exponential! example
Browse files Browse the repository at this point in the history
  • Loading branch information
cvsvensson committed Feb 15, 2024
1 parent 8e18f83 commit c52d24d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/exp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c52d24d

Please sign in to comment.