summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/asymptote/examples/floor.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/asymptote/examples/floor.asy')
-rw-r--r--Master/texmf-dist/doc/asymptote/examples/floor.asy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/asymptote/examples/floor.asy b/Master/texmf-dist/doc/asymptote/examples/floor.asy
index 02c2446abe8..ed61c0e8730 100644
--- a/Master/texmf-dist/doc/asymptote/examples/floor.asy
+++ b/Master/texmf-dist/doc/asymptote/examples/floor.asy
@@ -10,7 +10,7 @@ bool3 branch(real x) {
static real lasty;
static bool first=true;
real y=floor(x);
- bool samebranch=first || lasty == y;
+ bool samebranch=first || lasty == y;
first=false;
if(samebranch) lasty=x;
else {
@@ -21,7 +21,7 @@ bool3 branch(real x) {
return samebranch ? true : default;
};
-draw(graph(Floor,-5.5,5.5,500,branch));
+draw(graph(Floor,-5.5,5.5,500,branch));
axes("$x$",rotate(0)*"$\lfloor x\rfloor$",red);
dot(Close);