Skip to content

Commit

Permalink
Merge pull request #23 from TuringLang/devmotion-patch-1
Browse files Browse the repository at this point in the history
Use ConsoleProgressMonitor on Windows
  • Loading branch information
cpfiffer authored Mar 10, 2020
2 parents 4bfe617 + 88074ab commit 52130a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractMCMC.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ end
function progresslogger()
# detect if code is running under IJulia since TerminalLogger does not work with IJulia
# https://github.com/JuliaLang/IJulia.jl#detecting-that-code-is-running-under-ijulia
if isdefined(Main, :IJulia) && Main.IJulia.inited
if Sys.iswindows() || (isdefined(Main, :IJulia) && Main.IJulia.inited)
return ConsoleProgressMonitor.ProgressLogger()
else
return TerminalLoggers.TerminalLogger()
Expand Down

0 comments on commit 52130a5

Please sign in to comment.