Fix use of wrong member in endIter

This commit is contained in:
2024-11-01 11:17:26 -07:00
parent c7e2358746
commit d2ec4e7fae

View File

@@ -4368,7 +4368,7 @@ template <class NodeT> void endIter(Job *job, Context *context) {
MUSTTAIL return complete(job, context);
}
job->endNode = *child;
if (job->remaining.size() == 0) [[unlikely]] {
if (job->end.size() == 0) [[unlikely]] {
*job->result = {job->n, job->begin, job->endNode, job->end};
assert(job->endNode != nullptr);
MUSTTAIL return complete(job, context);