Reproduction:
int main() {
// -- SNIP --
win.fill(1);
std::vector<int> result(25);
// Problem here:
4*win(1,{0,0},{4,4})*win(1,{0,0},{4,4}) >> result.data();
win.flush();
// -- SNIP --
}
Expected behavior:
Observed behavior:
Temporary solution:
// Quick fix; add parenthesis around the window operations
4*(win(1,{0,0},{4,4})*win(1,{0,0},{4,4}))>> result.data();