Skip to content

Commit

Permalink
🐛 community summary statistics bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRossetti committed Mar 8, 2019
1 parent 76f7212 commit e583040
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cdlib/classes/node_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ def flake_odf(self, **kwargs):
else:
raise ValueError("Graph instance not specified")

def triangle_participation_ratio(self):
def triangle_participation_ratio(self, **kwargs):
"""
Fraction of algorithms nodes that belong to a triad.
Expand All @@ -345,7 +345,7 @@ def triangle_participation_ratio(self):
"""
if self.__check_graph():
return evaluation.triangle_participation_ratio(self.graph, self)
return evaluation.triangle_participation_ratio(self.graph, self, **kwargs)
else:
raise ValueError("Graph instance not specified")

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_requirements(remove_links=True):


setup(name='cdlib',
version='0.1.3',
version='0.1.4',
license='BSD-Clause-2',
description='Community Discovery Library',
url='https://github.com/GiulioRossetti/cdlib',
Expand Down

0 comments on commit e583040

Please sign in to comment.