aboutsummaryrefslogtreecommitdiff
path: root/py/deathtable2.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/deathtable2.py')
-rw-r--r--py/deathtable2.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/deathtable2.py b/py/deathtable2.py
index ec0f171..86fe5f8 100644
--- a/py/deathtable2.py
+++ b/py/deathtable2.py
@@ -7,6 +7,6 @@ Nearest Neighbor (avg) & Width (avg) & Depth (avg)\\cr\\tabrule')
for trial in trials:
print('& '.join(['$'+'\\times'.join([str(el) for el in trial.size])+'$',
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')
+ str(len(trial.pits)), '%.2fin' % mean(trial.nearest_neighbor()),
+ '%.2fcm' % mean([pit.diam for pit in trial.pits]),
+ '%.2fcm' % mean([pit.depth for pit in trial.pits])])+'\\cr\\tabrule')