Skip to content

Commit 55d5e6e

Browse files
committed
fix: issue with varying order of fields
1 parent 4066428 commit 55d5e6e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ParametricExpression.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ end
5656
5757
An expression to store parameters for a tree
5858
"""
59-
struct ParametricExpression{T,N<:ParametricNode{T},D<:NamedTuple} <: AbstractExpression{T,N}
59+
struct ParametricExpression{
60+
T,
61+
N<:ParametricNode{T},
62+
D<:NamedTuple{(:operators, :variable_names, :parameters, :parameter_names)},
63+
} <: AbstractExpression{T,N}
6064
tree::N
6165
metadata::Metadata{D}
6266

0 commit comments

Comments
 (0)