Skip to content

Commit

Permalink
bug fix on main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Kei18 committed Jan 5, 2024
1 parent 0a34c5c commit d72bd85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ int main(int argc, char *argv[])
Planner::FLG_STAR = !program.get<bool>("no-star") && !flg_no_all;
Planner::FLG_MULTI_THREAD =
!program.get<bool>("no-multi-thread") && !flg_no_all;
Planner::PIBT_NUM = std::stoi(program.get<std::string>("pibt-num"));
Planner::PIBT_NUM =
flg_no_all ? 1 : std::stoi(program.get<std::string>("pibt-num"));
Planner::FLG_REFINER = !program.get<bool>("no-refiner") && !flg_no_all;
Planner::REFINER_NUM = std::stoi(program.get<std::string>("refiner-num"));
Planner::FLG_SCATTER = !program.get<bool>("no-scatter") && !flg_no_all;
Expand Down

0 comments on commit d72bd85

Please sign in to comment.