Skip to content

Commit

Permalink
more primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmandlik committed Aug 5, 2020
1 parent f0911a8 commit 3d4fc69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/definitions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ macro primitives()
import HierarchicalUtils: NodeType, LeafNode
NodeType(::Type{<:Number}) = LeafNode()
NodeType(::Type{<:AbstractString}) = LeafNode()
NodeType(::Type{<:Symbol}) = LeafNode()
NodeType(::Type{<:AbstractChar}) = LeafNode()
return
end
)
Expand Down

0 comments on commit 3d4fc69

Please sign in to comment.