Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
aelligp committed May 6, 2024
1 parent 128352e commit 30987f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IO/JLD2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ by providing a dollar sign and the rank number.
```
"""
checkpoint_name(dst) = "$dst/checkpoint.jld2"
checkpoint_name(dst,igg::IGG) = "$dst/checkpoint" * lpad("$(igg.me)", 4, "0") * ".jld2"
checkpoint_name(dst, igg::IGG) = "$dst/checkpoint" * lpad("$(igg.me)", 4, "0") * ".jld2"

function checkpointing_jld2(dst, stokes, thermal, particles, phases, time)
fname = checkpoint_name(dst)
Expand All @@ -31,7 +31,7 @@ function checkpointing_jld2(dst, stokes, thermal, particles, phases, time)
end

function checkpointing_jld2(dst, stokes, thermal, particles, phases, time, igg::IGG)
fname = checkpoint_name(dst,igg)
fname = checkpoint_name(dst, igg)
checkpointing_jld2(dst, stokes, thermal, particles, phases, time, fname)
return nothing
end
Expand Down

0 comments on commit 30987f4

Please sign in to comment.