Skip to content

Resolve problem with space after function to a power. (#598)#599

Merged
drgrice1 merged 1 commit into
openwebwork:mainfrom
dpvc:hotfix-parser
Aug 11, 2021
Merged

Resolve problem with space after function to a power. (#598)#599
drgrice1 merged 1 commit into
openwebwork:mainfrom
dpvc:hotfix-parser

Conversation

@dpvc

@dpvc dpvc commented Aug 10, 2021

Copy link
Copy Markdown
Member

This PR fixes an error introduced in 15ce46c that causes spaces after functions with powers to be misinterpreted.

You can test is via

TEXT(Compute("sin^2 (x)"))

which will throw an error in version 2.16 without the patch, and will produce [sin(x)]^2 with the patch.

This resolves issue #598.

@drgrice1 drgrice1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the problem for me. Thanks for the fix.

I will merge this soon unless someone objects.

@pstaabp pstaabp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good.

@drgrice1 drgrice1 merged commit 37637e2 into openwebwork:main Aug 11, 2021
@dpvc dpvc deleted the hotfix-parser branch January 3, 2023 07:10
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.

4 participants