Skip to content

Commit

Permalink
Fix wrong parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
lodersky committed Apr 18, 2019
1 parent a9cbd3c commit 9d93353
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions urbs/features/transmission.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,15 @@ def transmission_balance(m, tm, stf, sit, com):
# exports increase balance
for stframe, site_in, site_out, transmission, commodity
in m.tra_tuples
if (site_in == sit and stframe == stf and commodity) ==
com) -
if (site_in == sit and stframe == stf and
commodity == com)) -
sum(m.e_tra_out[(tm, stframe, site_in, site_out,
transmission, com)]
# imports decrease balance
for stframe, site_in, site_out, transmission, commodity
in m.tra_tuples
if site_out == sit and stframe == stf and
commodity == com))
if (site_out == sit and stframe == stf and
commodity == com)))


# transmission cost function
Expand Down

0 comments on commit 9d93353

Please sign in to comment.