From 9874a97ed561459a2a290e1dbbe2b9c9d1bed4da Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 4 Jun 2014 11:05:22 -0700 Subject: Make bigger steps when calculating TTS [Dirk Hohndel: this was sent ages ago and in all the discussions about the implications I apparently never applied this] Signed-off-by: Linus Torvalds Signed-off-by: Dirk Hohndel --- profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'profile.c') diff --git a/profile.c b/profile.c index 67948f22b..b5df7c6cd 100644 --- a/profile.c +++ b/profile.c @@ -1017,7 +1017,7 @@ static void calculate_ndl_tts(double tissue_tolerance, struct plot_data *entry, const int ascent_s_per_deco_step = 1; const int ascent_mm_per_deco_step = 16; /* 1 m/min */ /* how long time steps in deco calculations? */ - const int time_stepsize = 10; + const int time_stepsize = 60; const int deco_stepsize = 3000; /* at what depth is the current deco-step? */ int next_stop = ROUND_UP(deco_allowed_depth(tissue_tolerance, surface_pressure, dive, 1), deco_stepsize); -- cgit v1.2.3-70-g09d2