Skip to content

Commit

Permalink
Fix eq ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
YingboMa committed Oct 2, 2023
1 parent 6bb0b2e commit 29aec7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/stream_connectors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ eqns = [domain_connect(fluid, n1m1.port_a)
pipe.port_b.P ~ sink.port.P]
@test sort(equations(expand_connections(n1m1Test)), by = string) ==
[0 ~ -pipe.port_a.m_flow - pipe.port_b.m_flow
0 ~ n1m1.port_a.m_flow + pipe.port_a.m_flow
0 ~ n1m1.source.port1.m_flow - n1m1.port_a.m_flow
0 ~ n1m1.port_a.m_flow + pipe.port_a.m_flow
0 ~ pipe.port_b.m_flow + sink.port.m_flow
fluid.m_flow ~ 0
n1m1.port_a.P ~ pipe.port_a.P
Expand Down

0 comments on commit 29aec7b

Please sign in to comment.