From e027cc2c72e7b43fda63dd7945e619a819447bc1 Mon Sep 17 00:00:00 2001 From: dvlierop2 Date: Wed, 26 Nov 2008 20:53:04 +0000 Subject: [PATCH] Fix bug #299414: a return statement in unitTangentAt() got lost in rev. 20205! --- src/2geom/curve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/2geom/curve.h b/src/2geom/curve.h index af02d6edb..08cc2380c 100644 --- a/src/2geom/curve.h +++ b/src/2geom/curve.h @@ -138,7 +138,7 @@ public: Coord length = derivs[deriv_n].length(); if ( ! are_near(length, 0) ) { // length of derivative is non-zero, so return unit vector - derivs[deriv_n] / length; + return derivs[deriv_n] / length; } } return Point (0,0); -- 2.30.2