Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/core/node.jl
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ function _after_construct_variables!(node::Node)
if node.state_final isa Vector
@critical "[build] The final value of a Node must be scalar." component = node.name
end
if node.state_cyclic !== :disabled && !_isempty(node.state_initial) && !_isempty(node.state_initial)
if node.state_cyclic !== :disabled && !_isempty(node.state_initial) && !_isempty(node.state_final)
@critical(
"[build] `state_cyclic` has to be disabled if both `state_initial` and `state_final` are set.",
component = node.name
Expand Down