From aad949af70dafcfd55a6b5f4031915223455e738 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Mon, 24 Aug 2009 19:56:23 +0000 Subject: [PATCH] patch from 417179 by Alvin --- src/live_effects/spiro.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/live_effects/spiro.cpp b/src/live_effects/spiro.cpp index c734f91ee..4aad25f08 100644 --- a/src/live_effects/spiro.cpp +++ b/src/live_effects/spiro.cpp @@ -773,6 +773,7 @@ spiro_iter(spiro_seg *s, bandmat *m, int *perm, double *v, int n) s[i].ks[k] += dk; norm += dk * dk; } + s[i].ks[0] = 2.0*mod_2pi(s[i].ks[0]/2.0); } return norm; } -- 2.30.2