aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--brill_data.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/brill_data.c b/brill_data.c
index 96b2d3a..40b2082 100644
--- a/brill_data.c
+++ b/brill_data.c
@@ -118,9 +118,8 @@ static long double sb_even_colloc_point(int order, int idx, long double sf)
long double t;
idx = order - idx - 1;
- order *= 2;
- t = (idx + 2) * M_PI / (order + 4);
+ t = (idx + 2) * M_PI / (2 *(order + 2));
return sf / tanl(t);
}