Skip to content

Commit

Permalink
BugFix: Agent states loaded from file via run args would be ignored.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robadob committed Jul 19, 2023
1 parent 193fd83 commit 1b4a259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flamegpu/simulation/Simulation.cu
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ int Simulation::checkArgs(int argc, const char** argv) {
return false;
}
for (auto &agent : pops) {
setPopulationData(*agent.second);
setPopulationData(*agent.second, agent.first.second);
}
}
}
Expand Down

0 comments on commit 1b4a259

Please sign in to comment.