We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ff5799 commit b03f8abCopy full SHA for b03f8ab
client/src/components/logViewer/ProblemProcessor.ts
@@ -317,7 +317,7 @@ export class ProblemProcessor {
317
const unclaimedLocations = [];
318
locations.forEach((location) => {
319
const problemNumber = location.problemNumber;
320
- const lastFoundIndex = lastIndexMap.get(problemNumber) ?? 0;
+ const lastFoundIndex = lastIndexMap.get(problemNumber) ?? -1;
321
let currentIndex = (lastFoundIndex + 1) % rawProblems.length;
322
let foundIndex = undefined;
323
let count = 0;
0 commit comments