Skip to content
This repository was archived by the owner on Nov 29, 2020. It is now read-only.

Commit 61d1c66

Browse files
committed
Fix Typo
1 parent 08ddaa1 commit 61d1c66

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Graph.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ class Graph {
297297
virtual bool is_edge(T u, T v) = 0;
298298
virtual void transpose() = 0;
299299
virtual ~Graph() {}
300-
typedef T vertix_type;
300+
typedef T vertex_type;
301301
bool dir;
302302
uset<T> V;
303303
};
@@ -528,8 +528,8 @@ void graphviz(T& G, F1 f1, F2 f2) {
528528

529529
template <typename T>
530530
void graphviz(T& G) {
531-
auto f1 = [](typename T::vertix_type v) { return false; };
532-
auto f2 = [](Edge<typename T::vertix_type>) {};
531+
auto f1 = [](typename T::vertex_type v) { return false; };
532+
auto f2 = [](Edge<typename T::vertex_type>) {};
533533
graphviz(G, f1, f2);
534534
}
535535
#endif

MaximumBipartiteMatching.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
template <typename GT>
3232
class Bipartite: public GT {
3333
public:
34-
using T = typename GT::vertix_type;
34+
using T = typename GT::vertex_type;
3535
Bipartite(bool direction): GT(direction) {}
3636
template <typename F1, typename F2>
3737
void graphviz(F1 f1, F2 f2) {

0 commit comments

Comments
 (0)