Skip to content

Commit

Permalink
remove extra attempted read of seed in LoadInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearkatie committed Oct 17, 2023
1 parent 9abdbb2 commit eacc34a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sim_init.cc
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ void SimInit::LoadInfo() {
// TODO: when the backends support uint64_t, the int template here
// should be updated to uint64_t.
si_.dt = qr.GetVal<int>("DurationSecs");
si_.seed = qr.GetVal<int>("Seed");
si_.stride = qr.GetVal<int>("Stride");

qr = b_->Query("RNGInfo", NULL);
si_.seed = qr.GetVal<int>("Seed");
Expand Down

0 comments on commit eacc34a

Please sign in to comment.