[NTG-context] odd seems to be broken in lmtx-metafun
damien at thiriet.web4me.fr
Thu Jan 7 19:54:33 CET 2021
I think I found the bug that made me send a
"false positive" a few days ago.
Looks like something messes up with metafun odd function.
This snippet of code:
draw p reflectedabout ((10,10),(10,-10)) withcolor red;
for i=1 upto 2:
if odd i:
draw p yshifted 20 withcolor green;
draw p xshifted 20 withcolor blue;
%draw (0,0)--(20,20) withcolor red;
does not compile as I would expect it: no green line
is drawn (but there is an output). I hope I did not miss
something and won't waste your time.
This appeared at least in
version (I don't update often enough to give better hints)
More information about the ntg-context