Skip to content

Commit

Permalink
Make ProgressBar mutable (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
ytdHuang authored Oct 15, 2024
2 parents 5e94453 + 40f0cce commit d3f1313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progress_bar.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export ProgressBar, next!

struct ProgressBar{CT,T1<:Integer,T2<:Real,T3,T4<:Real,LT}
mutable struct ProgressBar{CT,T1<:Integer,T2<:Real,T3,T4<:Real,LT}
counter::CT
max_counts::T1
enable::Bool
Expand Down

0 comments on commit d3f1313

Please sign in to comment.