summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGard Spreemann <gard.spreemann@epfl.ch>2016-04-19 12:10:22 +0200
committerGard Spreemann <gard.spreemann@epfl.ch>2016-04-19 12:10:22 +0200
commit3f8ae7cd1e031c3c8b801d891521f8954b6adac7 (patch)
treec0fda2f3ca5db84485d1461a57925511ddf3f149
parent49fc2134d6d0c0061ea2335ea85e27a23f1a7612 (diff)
Typo.
-rw-r--r--phstuff/simplicial.py2
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):