Skip to content

Commit

Permalink
Merge pull request #8 from JuliaPOMDP/WhiffleFish-patch-1
Browse files Browse the repository at this point in the history
print to specified io in `Base.show`
  • Loading branch information
dylan-asmar authored Feb 9, 2024
2 parents 6d848f1 + f0e2aa7 commit 41cb724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tag_types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ POMDPs.isterminal(pomdp::TagPOMDP, s::TagState) = s.r_pos == 0 && s.t_pos == 0
POMDPs.discount(pomdp::TagPOMDP) = pomdp.discount_factor

function Base.show(io::IO, pomdp::TagPOMDP)
println("TagPOMDPProblem")
println(io, "TagPOMDPProblem")
for name in fieldnames(typeof(pomdp))
if name == :mg
print(io, "\t", name, ": ")
Expand Down

0 comments on commit 41cb724

Please sign in to comment.