Open Hockly opened 6 years ago
for (int i = 0; i < table.cells.count; i++) { NSArray<MTMathList> row = table.cells[i]; if (row.count >= 1) { //error [row[1] insertAtom:spacer atIndex:0]; } } When there is only one element in row, an array error is reported.
@Hockly If you can reproduce it, it would be good to add a test for it and PR a bug fix.
for (int i = 0; i < table.cells.count; i++) { NSArray<MTMathList> row = table.cells[i]; if (row.count >= 1) { //error [row[1] insertAtom:spacer atIndex:0]; } } When there is only one element in row, an array error is reported.