fix bad_alloc in debugger. unsure why it was only a problem in the debugger.
This commit is contained in:
@@ -7,12 +7,12 @@
|
|||||||
|
|
||||||
struct Table {
|
struct Table {
|
||||||
int N;
|
int N;
|
||||||
std::vector<std::vector<int>> fwd;
|
std::vector<std::vector<int>> fwd{};
|
||||||
std::vector<std::vector<int>> rev;
|
std::vector<std::vector<int>> rev{};
|
||||||
|
|
||||||
explicit Table(int N) {
|
explicit Table(int N) {
|
||||||
add_row();
|
|
||||||
this->N = N;
|
this->N = N;
|
||||||
|
add_row();
|
||||||
}
|
}
|
||||||
|
|
||||||
void add_row() {
|
void add_row() {
|
||||||
|
|||||||
Reference in New Issue
Block a user