fix bad_alloc in debugger. unsure why it was only a problem in the debugger.

This commit is contained in:
2019-09-13 22:21:23 -04:00
parent 7a60523189
commit dbea7db46e

View File

@@ -7,12 +7,12 @@
struct Table {
int N;
std::vector<std::vector<int>> fwd;
std::vector<std::vector<int>> rev;
std::vector<std::vector<int>> fwd{};
std::vector<std::vector<int>> rev{};
explicit Table(int N) {
add_row();
this->N = N;
add_row();
}
void add_row() {