Skip to content

Commit

Permalink
add maxdepth=100 arg to print_tree
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth authored Sep 11, 2024
1 parent ff233b3 commit 89ae8b8
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 89ae8b8

Please sign in to comment.