Skip to content

Commit

Permalink
Tweak mip_bipartitions docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
rlmv committed Mar 24, 2017
1 parent dcaa86a commit b609a01
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions pyphi/subsystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,9 +796,17 @@ def mip_bipartitions(mechanism, purview, partition_mechanism=False):
Excludes all bipartitions where one half is entirely empty, e.g::
A [] A []
--- X -- is not valid, but --- X --- is.
B [] [] B
A []
--- X --
B []
is not valid, but ::
A []
-- X --
[] B
is.
Args:
mechanism (tuple[int]): The mechanism to partition
Expand All @@ -810,7 +818,7 @@ def mip_bipartitions(mechanism, purview, partition_mechanism=False):
for more information.
Returns:
list[|Bipartition|]: Where each bipartition is
list[Bipartition]: Where each bipartition is
::
Expand Down

0 comments on commit b609a01

Please sign in to comment.