diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 19:33:52 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 19:33:52 +0100 |
commit | aa3db4c1757b9b597e32997e938cdbc7752755c4 (patch) | |
tree | 05e7c59e9a5dbd604ca3100716a18023ee16a7a4 /bench/dijkstra.cpp | |
parent | 0b97d0abee3c451c3ea4e55c06a75b2abf5a1f14 (diff) |
b
Diffstat (limited to 'bench/dijkstra.cpp')
-rw-r--r-- | bench/dijkstra.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/dijkstra.cpp b/bench/dijkstra.cpp index 93744258..ff462aa6 100644 --- a/bench/dijkstra.cpp +++ b/bench/dijkstra.cpp @@ -14,7 +14,7 @@ void Dijkstra(benchmark::State& state) (void)loader.wall_atlas_list(); auto w = world(); auto A = astar(); - static bool first_run = false; + bool first_run = false; constexpr auto wcx = 1, wcy = 1, wtx = 8, wty = 8, wox = 0, woy = 0; constexpr auto max_dist = (uint32_t)(Vector2i(Math::abs(wcx)+1, Math::abs(wcy)+1)*TILE_MAX_DIM*iTILE_SIZE2).length(); |