summaryrefslogtreecommitdiffstats
path: root/core/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/divelist.c')
-rw-r--r--core/divelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/divelist.c b/core/divelist.c
index 3c8d306ea..227528e18 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -207,7 +207,7 @@ static double calculate_cns_dive(const struct dive *dive)
// This formula is the result of fitting two lines to the Log of the NOAA CNS table
rate = po2i <= 1500 ? exp(-11.7853 + 0.00193873 * po2i) : exp(-23.6349 + 0.00980829 * po2i);
- cns += (double) t * rate * 1000.0;
+ cns += (double) t * rate * 100.0;
}
return cns;
}