diff --git a/Project.toml b/Project.toml index 4d17c71..eb6c655 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PProf" uuid = "e4faabce-9ead-11e9-39d9-4379958e3056" authors = ["Valentin Churavy ", "Nathan Daly "] -version = "3.1.1" +version = "3.1.2" [deps] AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c" diff --git a/src/PProf.jl b/src/PProf.jl index f6092a8..95c7cb5 100644 --- a/src/PProf.jl +++ b/src/PProf.jl @@ -193,6 +193,7 @@ function pprof(data::Union{Nothing, Vector{UInt}} = nothing, if has_meta # This should never happen in has_meta mode @error "Unexpected 0 in data, please file an issue." idx + idx -= 1 continue end # Avoid creating empty samples