-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Labels
Aspect/EditorThis is related to CSharpMath.Editor.This is related to CSharpMath.Editor.Resolution/FixedThe described issue is fixed.The described issue is fixed.Type/Bug
Description
To Reproduce
Steps to reproduce the behavior:
- Call
NthRoot - Type
1 - Type
2 - Type
- - Type
x - Click near
x - Exception
Expected behavior
Exception is not thrown.
Additional context
Atoms inside of a degree are "fused", so "12 - x" is stored only as three atoms:
{Ordinary 12}
{Binary Operator −}
{Ordinary 𝑥}
And here is lines in the MathListIndexToStringIndex function from where exception comes:
if (mlIndex >= self.Atoms.Length)
throw ArgOutOfRange($"The index is not in the range {self.Atoms.Length}", mlIndex, nameof(mlIndex));Metadata
Metadata
Assignees
Labels
Aspect/EditorThis is related to CSharpMath.Editor.This is related to CSharpMath.Editor.Resolution/FixedThe described issue is fixed.The described issue is fixed.Type/Bug