Update misc
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user