1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

rogueviz:: dhrg:: fixed incorrect initialization

This commit is contained in:
Zeno Rogue 2024-04-28 02:10:22 +02:00
parent 329ad76c3c
commit ba9c41bed2

View File

@ -86,7 +86,8 @@ int movearound() {
int move_restart() {
indenter_finish im("move_restart");
ld llo = loglik_chosen();
array<array<int, 128>, 2> distances_map = {0};
array<array<int, 128>, 2> distances_map;
for(int a=0; a<2; a++) for(int b=0; b<128; b++) distances_map[a][b] = 0;
int moves = 0;
// int im = 0;