WeBWorK Main Forum

Issue with the Limited Polynomial Context

Re: Issue with the Limited Polynomial Context

by Davide Cervone -
Number of replies: 0

You are correct, this is an error. It turns out to be due to the context mishandling negation of constants and variables, so -x + x is also incorrectly allowed.

I have made a pull request to resolve the problem. You could get the updated contextLimitedPolynomial.pl file from there and use that to resolve the issue until the change is part of an official release.