From a7aeb064f32641a497a7dcffe6d7c0daa6fb830a Mon Sep 17 00:00:00 2001 From: ? Date: Fri, 22 Feb 2019 21:12:10 +0100 Subject: [PATCH] optimization in binary --- binary-tiling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binary-tiling.cpp b/binary-tiling.cpp index b7a47783..810e6364 100644 --- a/binary-tiling.cpp +++ b/binary-tiling.cpp @@ -233,7 +233,7 @@ namespace binary { ld yy = log(2) / 2; const int STEP=3; const ld MUL = 1. / STEP; - auto at = [&] (ld x, ld y, ld z) { curvepoint(V * parabolic(size*x, size*y) * xpush(size*yy*z) * C0); }; + auto at = [&] (ld x, ld y, ld z) { curvepoint(V * parabolic3(size*x, size*y) * xpush0(size*yy*z)); }; for(int a:{-1,1}) { for(ld t=-STEP; t