Skip to content

Commit

Permalink
add maxdepth=100 arg to print_tree (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth authored Sep 21, 2024
1 parent dfef136 commit d9cdbfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/tutorials/snoop_inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ We can do that with the [AbstractTrees](https://github.com/JuliaCollections/Abst
```jldoctest flatten-demo; filter=[r"[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?", r"Main\.var\"Main\"\."]
julia> using AbstractTrees
julia> print_tree(tinf)
julia> print_tree(tinf, maxdepth=100)
InferenceTimingNode: 0.002712/0.003278 on Core.Compiler.Timings.ROOT() with 1 direct children
└─ InferenceTimingNode: 0.000133/0.000566 on FlattenDemo.packintype(::Int64) with 2 direct children
├─ InferenceTimingNode: 0.000094/0.000094 on FlattenDemo.MyType{Int64}(::Int64) with 0 direct children
Expand Down

0 comments on commit d9cdbfa

Please sign in to comment.