Skip to content

Commit

Permalink
Fix compilation error in fire_animation_data.cpp
Browse files Browse the repository at this point in the history
IvanRenison committed May 31, 2023
1 parent c2b328f commit 9ff7f55
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions graphics/fire_animation_data.cpp
Original file line number Diff line number Diff line change
@@ -34,9 +34,12 @@ int main(int argc, char* argv[]) {
IgnitionCells ignition_cells =
read_ignition_cells(landscape_file_prefix + "-ignition_points.csv");

std::srand(SEED);
splitmix64 rng_splitmix64(SEED);

Xoshiro256plus rng(rng_splitmix64);

Fire fire = simulate_fire(
landscape, ignition_cells, random_params(), DISTANCE, ELEVATION_MEAN, ELEVATION_SD,
rng, landscape, ignition_cells, random_params(), DISTANCE, ELEVATION_MEAN, ELEVATION_SD,
UPPER_LIMIT
);

0 comments on commit 9ff7f55

Please sign in to comment.