Skip to content

Commit

Permalink
Update test_settings_internal.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Dec 30, 2024
1 parent a5c1552 commit d4f3f2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loadgen/test_settings_internal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ int TestSettings::FromConfig(const std::string &path, const std::string &model,
std::unique_ptr<std::istream> fss;
std::string line;

if (conf_type = 0) {
if (conf_type != 0) {
// dirt simple config parser
fss = std::make_unique<std::ifstream>(path);
if (!static_cast<std::ifstream *>(fss.get())->is_open()) {
Expand Down Expand Up @@ -691,7 +691,7 @@ int TestSettings::FromConfig(const std::string &path, const std::string &model,
break;
}
}
if (conf_type = 0) {
if (conf_type == 0) {
lookupkv(model, scenario, "qsl_rng_seed", &qsl_rng_seed, nullptr);
lookupkv(model, scenario, "sample_index_rng_seed", &sample_index_rng_seed,
nullptr);
Expand Down

0 comments on commit d4f3f2d

Please sign in to comment.