Skip to content

Commit

Permalink
Update src/toolkit/matl_buy_policy.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Wilson <paul.wilson@wisc.edu>
Signed-off-by: Katie Mummah <radioactivekate@gmail.com>
  • Loading branch information
nuclearkatie and gonuke authored Jan 17, 2024
1 parent d3c528e commit e93ce30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toolkit/matl_buy_policy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ std::set<RequestPortfolio<Material>::Ptr> MatlBuyPolicy::GetMatlRequests() {
// currently in the middle of active buying period
amt = TotalAvailable() * SampleRequestSize();
}
else if (current_time_ == next_active_end_ || current_time_ < next_dormant_end_) {
else if (current_time_ < next_dormant_end_) {
// finished active. starting dormancy and sample/set length of dormant period
amt = 0;
LGH(INFO3) << "in dormant period, no request" << std::endl;
Expand Down

0 comments on commit e93ce30

Please sign in to comment.