Skip to content

Commit

Permalink
fix call_rule macro for the delta node
Browse files Browse the repository at this point in the history
  • Loading branch information
bvdmitri committed Nov 26, 2023
1 parent e5b3d4c commit c16d0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/delta/delta.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ call_rule_is_node_required(::Type{<:DeltaFn}) = CallRuleNodeRequired()
function call_rule_make_node(::CallRuleNodeRequired, fformtype::Type{<:DeltaFn}, nodetype::F, meta::DeltaMeta) where {F}
# This node is not initialized properly, but we do not expect rules to access internal uninitialized fields.
# Doing so will most likely throw an error
return DeltaFnNode(nodetype, NodeInterface(:out, Marginalisation()), (), nothing, collect_meta(DeltaFn{F}, meta))
return DeltaFnNode(nodetype, nodetype, NodeInterface(:out, Marginalisation()), (), (), nothing, collect_meta(DeltaFn{F}, meta))
end

function interfaceindex(factornode::DeltaFnNode, iname::Symbol)
Expand Down

0 comments on commit c16d0be

Please sign in to comment.