Skip to content

Commit

Permalink
fix: metis bug due to toker changes
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSeemaier committed Apr 18, 2024
1 parent c933ee6 commit d1bcfb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kagen/io/metis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ std::size_t ParseBody(
edge_cb(edge_weight, v);
}

toker.ConsumeChar('\n');
if (toker.ValidPosition()) {
toker.ConsumeChar('\n');
}
}

if (!exited_preemptively) {
Expand Down

0 comments on commit d1bcfb2

Please sign in to comment.