Skip to content

Commit

Permalink
ModeResult description inconsistency (TuringLang#1396)
Browse files Browse the repository at this point in the history
* Update ModeEstimation.jl

* Update Project.toml

Co-authored-by: Cameron Pfiffer <cpfiffer@gmail.com>
  • Loading branch information
wupeifan and cpfiffer authored Aug 27, 2020
1 parent 2d68407 commit e1ab7e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Turing"
uuid = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"
version = "0.14.0"
version = "0.14.1"

[deps]
AbstractMCMC = "80f14c24-f653-4e6a-9b94-39d6b0f70001"
Expand Down
2 changes: 1 addition & 1 deletion src/modes/ModeEstimation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ end


function Base.show(io::IO, ::MIME"text/plain", m::ModeResult)
print(io, "ModeResult with minimized lp of ")
print(io, "ModeResult with maximized lp of ")
Printf.@printf(io, "%.2f", m.lp)
println(io)
show(io, m.values)
Expand Down

0 comments on commit e1ab7e0

Please sign in to comment.