rogueviz::dhrg:: fixed VLA
This commit is contained in:
parent
f1e91a1614
commit
942fd9dafb
|
@ -139,8 +139,7 @@ void cellcoords() {
|
||||||
// needs cellcoords/rvcoords/origcoords
|
// needs cellcoords/rvcoords/origcoords
|
||||||
void build_disttable() {
|
void build_disttable() {
|
||||||
indenter_finish im("build_disttable");
|
indenter_finish im("build_disttable");
|
||||||
int tab[N];
|
vector<int> tab(N, N);
|
||||||
for(int i=0; i<N; i++) tab[i] = N;
|
|
||||||
disttable0.clear();
|
disttable0.clear();
|
||||||
disttable1.clear();
|
disttable1.clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue