Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Commit 07cc8bc

Browse files
authored
Pass observers to checkdone(...) (#88)
1 parent d6cd585 commit 07cc8bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/alternating_update.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ function alternating_update(
105105
println()
106106
flush(stdout)
107107
end
108-
isdone = checkdone(; state, sweep, outputlevel)
108+
isdone = checkdone(;
109+
state, sweep, outputlevel, observer=observer!, sweep_observer=sweep_observer!
110+
)
109111
isdone && break
110112
end
111113
return state

0 commit comments

Comments
 (0)