Fix TC to update correctly, and move all to-hook children on the stack

This commit is contained in:
stefiosif
2022-09-26 12:23:49 +03:00
parent 14a61c92e9
commit cbaf50d401
4 changed files with 21 additions and 13 deletions

View File

@@ -57,7 +57,7 @@ template<typename T>
void King<T>::remove(const T& u, const T& v) {
this->G.remove(u, v);
for (const auto& w : this->G.vertices()) {
In[w].remove(u, v);
In[w].remove(v, u);
Out[w].remove(u, v);
}
}