Skip to content

Commit

Permalink
Always return a macro-network even when Phi = 0
Browse files Browse the repository at this point in the history
  • Loading branch information
wmayner committed May 14, 2015
1 parent c0e4eb9 commit 81f79cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyphi/macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def emergence(network):
"""
micro_phi = compute.main_complex(network).phi
partitions = list_all_partitions(network)
max_phi = 0
max_phi = float('-inf')
for partition in partitions:
groupings = list_all_groupings(partition)
for grouping in groupings:
Expand Down

0 comments on commit 81f79cd

Please sign in to comment.