vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:15:3: error: expected primary-expression before 'for'
15 | for(int j = 0; j < W*H; j++){
| ^~~
vision.cpp:14:19: error: expected ')' before 'for'
14 | if(add_and({i});
| ~ ^
| )
15 | for(int j = 0; j < W*H; j++){
| ~~~
vision.cpp:14:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
14 | if(add_and({i});
| ^~
vision.cpp:15:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
15 | for(int j = 0; j < W*H; j++){
| ^
vision.cpp:15:18: error: 'j' was not declared in this scope