diff --git a/include/spline/exact_cubic.h b/include/spline/exact_cubic.h
index 6958f048f850f5358507e6cbedcd3772cbfe4172..9cba9d43652b9b13a4dac575ead4d75ad92a59f1 100644
--- a/include/spline/exact_cubic.h
+++ b/include/spline/exact_cubic.h
@@ -97,7 +97,7 @@ struct exact_cubic : public curve_abc<Time, Numeric, Dim, Safe, Point>
 			if( i+2 < size)
 			{
 				In it2(next); ++ it2;
-				num_t const dTi_1(1/((*it2).first - (*next).first));
+				num_t const dTi_1((*it2).first - (*next).first);
 				num_t const dTi_1sqr(dTi_1 * dTi_1);
 				// this can be optimized but let's focus on clarity as long as not needed
 				h1(i+1, i)   =  2 / dTi;
diff --git a/include/spline/optimization/OptimizeSpline.h b/include/spline/optimization/OptimizeSpline.h
index 0f3aef41dcc3278aa136e0ac8f5cb8a83dd464a1..15f05ab68e2db34cfc5e5c63e295b132f72209fe 100644
--- a/include/spline/optimization/OptimizeSpline.h
+++ b/include/spline/optimization/OptimizeSpline.h
@@ -103,7 +103,7 @@ inline void SplineOptimizer<Time, Numeric, Dim, Safe, Point>::ComputeHMatrices(I
 		if( i+2 < size)
 		{
 			In it2(next); ++ it2;
-			num_t const dTi_1(1/((*it2).first - (*next).first));
+			num_t const dTi_1((*it2).first - (*next).first);
 			num_t const dTi_1sqr(dTi_1 * dTi_1);
 			// this can be optimized but let's focus on clarity as long as not needed
 			h1(i+1, i)   =  2 / dTi;