Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect requirement for extraParens in stringification of UOP. #260

Merged
merged 1 commit into from
Dec 12, 2015

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Dec 12, 2015

This fixes the parenthesis problem reported by Mike. To test, use

Context("Numeric");
$f = Compute("(-1)^x");
BEGIN_TEXT
\(\{$f->TeX\}\) = \{$f->ans_rule(20)\}
END_TEXT
ANS($f->cmp);

and check the correct answer to see if it has parentheses or not. With the patch, the parentheses should be there; without the patch, the parens will be missing.

@goehle
Copy link
Member

goehle commented Dec 12, 2015

Works as advertised. Thanks for the quick turnaround.

goehle added a commit that referenced this pull request Dec 12, 2015
Fix incorrect requirement for extraParens in stringification of UOP.
@goehle goehle merged commit 2372626 into openwebwork:release-2.11 Dec 12, 2015
@dpvc dpvc deleted the patch-UOP branch December 15, 2015 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants