Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
thazhemadam and github-actions[bot] authored Apr 8, 2024
1 parent 09fed9b commit e3b1676
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/kiops.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ References:
- Niesen, J. and Wright, W.M., 2012. Algorithm 919: A Krylov subspace algorithm for evaluating the ``φ``-functions appearing in exponential integrators. ACM Transactions on Mathematical Software (TOMS), 38(3), p.22
"""
function kiops(tau_out,
A, u; mmin::Int = 10, mmax::Int = 128, m::Int = min(mmin, mmax),
A, u; mmin::Int = 10, mmax::Int = 128, m::Int = min(mmin, mmax),
tol::Real = 1e-7, opnorm = LinearAlgebra.opnorm(A, Inf), iop::Int = 2,
ishermitian::Bool = LinearAlgebra.ishermitian(A), task1::Bool = false)
n, ppo = size(u, 1), size(u, 2)
Expand Down
2 changes: 1 addition & 1 deletion src/krylov_phiv_adaptive.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ intuitive interface (vector `b` instead of a n-by-1 matrix `B`).
arXiv:0907.4631.
"""
function expv_timestep(ts::Vector{tType},
A, b; kwargs...) where {tType <: Real}
A, b; kwargs...) where {tType <: Real}
U = similar(b, size(A, 1), length(ts))
expv_timestep!(U, ts, A, b; kwargs...)
end
Expand Down

0 comments on commit e3b1676

Please sign in to comment.