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));
To Reproduce
Steps to reproduce the behavior:
NthRoot12-xxExpected 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
MathListIndexToStringIndexfunction from where exception comes: