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 problem with implied multiplication in fraction context, and some typos. (#1166) #1167

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Dec 21, 2024

This PR fixes the problem raised in #1166. This was due to mishandling of the "space" operator used for implied multiplication. The issue resulted from setting the cached operator definition to the string operator, but mutating the operator to the wrong class in some instances (it should be to the class for the new operator, not the original space operator's class).

This PR checks whether to mutate to the original space class or to bless the operator to the string operator's class.

It also fixes a couple of typos (one in an unrelated file -- hope that is OK).

Resolves issue #1166.

Copy link
Contributor

@Alex-Jordan Alex-Jordan left a comment

Choose a reason for hiding this comment

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

I tested and the exercises that were not working from #1166 are working now. Thanks for this!

@drgrice1 drgrice1 merged commit 352b286 into openwebwork:develop Jan 7, 2025
3 checks passed
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.

3 participants