Skip to content

Commit

Permalink
forcing consistency of produced treenodes
Browse files Browse the repository at this point in the history
  • Loading branch information
racinmat committed Mar 30, 2020
1 parent 4f8806c commit d973aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extractors/extractbranch.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ extractsmatrix(s::ExtractBranch) = false

function (s::ExtractBranch{S,V})(v::Dict) where {S<:Dict,V<:Dict}
x = vcat([f(get(v,string(k),nothing)) for (k,f) in s.vec]...)
o = [k => f(get(v,string(k),nothing)) for (k,f) in s.other]
o = [Symbol(k) => f(get(v,string(k),nothing)) for (k,f) in s.other]
data = (; :scalars => x,o...)
TreeNode(data)
end
Expand Down

2 comments on commit d973aca

@racinmat
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/11818

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.0.5 -m "<description of version>" d973acadfe00a68b086e4afea428afb15f098f8e
git push origin v1.0.5

Please sign in to comment.