summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/base/plain_paths.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/base/plain_paths.asy')
-rw-r--r--Build/source/utils/asymptote/base/plain_paths.asy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/base/plain_paths.asy b/Build/source/utils/asymptote/base/plain_paths.asy
index d457fa5bc28..bf3f2790c1d 100644
--- a/Build/source/utils/asymptote/base/plain_paths.asy
+++ b/Build/source/utils/asymptote/base/plain_paths.asy
@@ -178,7 +178,7 @@ slice cut(path p, path knife, int n)
slice s;
real[][] T=intersections(p,knife);
if(T.length == 0) {s.before=p; s.after=nullpath; return s;}
- T.cyclic(true);
+ T.cyclic=true;
real t=T[n][0];
s.before=subpath(p,0,t);
s.after=subpath(p,t,length(p));