Skip to content

bug with LimitedFraction and MathQuill #1169

@Alex-Jordan

Description

@Alex-Jordan

With the MWE below, it behaves as expected in 2.19. But in develop, when you submit the answer -1/2 with MathQuill, the answer ends up submitted as -(1/2) and is not accepted.

DOCUMENT();

loadMacros(qw(PGstandard.pl PGML.pl contextFraction.pl));

Context("LimitedFraction");
$answer = Fraction(-1/2);

BEGIN_PGML
[`[$answer]={}`][_]{$answer}
END_PGML

ENDDOCUMENT();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions