Skip to content

Commit d9cdbfa

Browse files
add maxdepth=100 arg to print_tree (#394)
1 parent dfef136 commit d9cdbfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/snoop_inference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ We can do that with the [AbstractTrees](https://github.com/JuliaCollections/Abst
8989
```jldoctest flatten-demo; filter=[r"[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?", r"Main\.var\"Main\"\."]
9090
julia> using AbstractTrees
9191
92-
julia> print_tree(tinf)
92+
julia> print_tree(tinf, maxdepth=100)
9393
InferenceTimingNode: 0.002712/0.003278 on Core.Compiler.Timings.ROOT() with 1 direct children
9494
└─ InferenceTimingNode: 0.000133/0.000566 on FlattenDemo.packintype(::Int64) with 2 direct children
9595
├─ InferenceTimingNode: 0.000094/0.000094 on FlattenDemo.MyType{Int64}(::Int64) with 0 direct children

0 commit comments

Comments
 (0)