Skip to content

Commit

Permalink
fix(shm-lp): compile error due to bad assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSeemaier committed Jul 19, 2024
1 parent dd93cf4 commit 98eefda
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kaminpar-shm/refinement/lp/legacy_lp_refiner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ class LegacyLabelPropagationRefinerImpl final : public ChunkRandomdLegacyLabelPr
}

bool refine(PartitionedGraph &p_graph, const PartitionContext &p_ctx) {
KASSERT(_graph == p_graph.graph().csr_graph());
KASSERT(_graph == &p_graph.graph().csr_graph());
KASSERT(p_graph.k() <= p_ctx.k);

_p_graph = &p_graph;
_p_ctx = &p_ctx;

Expand Down

0 comments on commit 98eefda

Please sign in to comment.