Skip to content

Commit 414efbe

Browse files
authored
Disallow multiple outflows from Outlet at validation (#1570)
Fixes #1567 (comment)
1 parent e5a9439 commit 414efbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/validation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ n_neighbor_bounds_flow(::Val{:LevelBoundary}) =
5656
n_neighbor_bounds(0, typemax(Int), 0, typemax(Int))
5757
n_neighbor_bounds_flow(::Val{:FlowBoundary}) = n_neighbor_bounds(0, 0, 1, typemax(Int))
5858
n_neighbor_bounds_flow(::Val{:Pump}) = n_neighbor_bounds(1, 1, 1, typemax(Int))
59-
n_neighbor_bounds_flow(::Val{:Outlet}) = n_neighbor_bounds(1, 1, 1, typemax(Int))
59+
n_neighbor_bounds_flow(::Val{:Outlet}) = n_neighbor_bounds(1, 1, 1, 1)
6060
n_neighbor_bounds_flow(::Val{:Terminal}) = n_neighbor_bounds(1, typemax(Int), 0, 0)
6161
n_neighbor_bounds_flow(::Val{:PidControl}) = n_neighbor_bounds(0, 0, 0, 0)
6262
n_neighbor_bounds_flow(::Val{:DiscreteControl}) = n_neighbor_bounds(0, 0, 0, 0)

0 commit comments

Comments
 (0)