[graph] Error check

colr-paint-template
Behdad Esfahbod 1 year ago
parent 7a9aac1ae3
commit 07e7033076
  1. 3
      src/graph/graph.hh

@ -280,7 +280,8 @@ struct graph_t
for (auto _ : parents)
new_parents.set (id_map[_.first], _.second);
parents = std::move (new_parents);
if (!new_parents.in_error ())
parents = std::move (new_parents);
}
void remap_parent (unsigned old_index, unsigned new_index)

Loading…
Cancel
Save