Update misc

This commit is contained in:
stefiosif
2022-09-16 15:17:32 +03:00
parent ae193d5f69
commit 037560949d
5 changed files with 7 additions and 40 deletions

View File

@@ -45,6 +45,8 @@ void Digraph<T>::insert(const T& u, const T& v) {
template<typename T>
void Digraph<T>::remove(const T& u, const T& v) {
this->adjMatrix[u].erase(v);
//if (this->adjMatrix[u].size() == 0)
// this->adjMatrix.erase(u);
}
template<typename T>