mirror of
https://github.com/onyx-and-iris/aoc2023.git
synced 2024-11-22 02:10:48 +00:00
add debug print
This commit is contained in:
parent
cc6a0942fb
commit
f5ad468db5
@ -44,6 +44,7 @@ func shortestRoute(a, b coords, factor int) int {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if row >= b.Y && row < a.Y {
|
if row >= b.Y && row < a.Y {
|
||||||
|
log.Debug("empty row, adding to vert")
|
||||||
vert += (factor - 1)
|
vert += (factor - 1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user