Skip to content

Commit

Permalink
Pass observers to checkdone(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman authored Sep 4, 2024
1 parent d6cd585 commit 7085bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alternating_update.jl
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function alternating_update(
println()
flush(stdout)
end
isdone = checkdone(; state, sweep, outputlevel)
isdone = checkdone(; state, sweep, outputlevel, observer=observer!, sweep_observer=sweep_observer!)
isdone && break
end
return state
Expand Down

0 comments on commit 7085bb9

Please sign in to comment.