diff options
Diffstat (limited to 'phstuff/simplicial.py')
-rw-r--r-- | phstuff/simplicial.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phstuff/simplicial.py b/phstuff/simplicial.py index 74b520f..6da6163 100644 --- a/phstuff/simplicial.py +++ b/phstuff/simplicial.py @@ -145,7 +145,7 @@ class Complex: return self.__count def num_vertices(self): - return len(self.__root.keys()) + return len(self.__root.children) # Very naive temporary VR implementations. def naive_vr_tmp(graph, top_dim): |