Page 1 of 1
cage.inv not working?
Posted: Thu Mar 22, 2018 12:49 am
by dhirst
cage.inv doesn't appear to do any inversion (in the help file) in v 0.5.0.1 beta
i.e. the original appears in the destination roll or score.
Cheers,
David
Re: cage.inv not working?
Posted: Thu Mar 22, 2018 10:27 pm
by danieleghisi
Hi,
you are absolutely right, thanks for spotting this.
This is not really a cage issue, but an underlying bug in the new bach 0.8 parser.
You can bypass it for now by substituting
"cents = 2 * $1 - cents"
with
"cents = -cents + 2 * $1"
inside the abstraction.
We'll surely fix this for next release (which will collect some fixes for the bugs we have spotted in 0.8).
Re: cage.inv not working?
Posted: Fri Mar 23, 2018 6:04 am
by dhirst
Thanks Daniele for the workaround. It works fine.
Cheers,
David