aboutsummaryrefslogtreecommitdiff
path: root/py/deathtable2.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/deathtable2.py')
-rw-r--r--py/deathtable2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/deathtable2.py b/py/deathtable2.py
index 401d42e..ec0f171 100644
--- a/py/deathtable2.py
+++ b/py/deathtable2.py
@@ -6,7 +6,7 @@ Nearest Neighbor (avg) & Width (avg) & Depth (avg)\\cr\\tabrule')
for trial in trials:
print('& '.join(['$'+'\\times'.join([str(el) for el in trial.size])+'$',
- names[trial.method], str(trial.recl), str(trial.dead),
+ fancy[trial.method], str(trial.recl), str(trial.dead),
str(len(trial.pits)), '%.2f' % mean(trial.nearest_neighbor()),
'%.2f' % mean([pit.diam for pit in trial.pits]),
'%.2f' % mean([pit.depth for pit in trial.pits])])+'\\cr\\tabrule')