From 3f8ae7cd1e031c3c8b801d891521f8954b6adac7 Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Tue, 19 Apr 2016 12:10:22 +0200 Subject: Typo. --- phstuff/simplicial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.3