Skip to content

Commit

Permalink
remove extra commented section
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearkatie committed Jan 26, 2024
1 parent 810840c commit 014cc54
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/storage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,8 @@ void Storage::EnterNotify() {

SetUpBuyPolicy();

// cyclus::FixedIntDist a_dist = cyclus::FixedIntDist(1);
// cyclus::FixedIntDist d_dist = cyclus::FixedIntDist(1);
// cyclus::FixedDoubleDist size_dist = cyclus::FixedDoubleDist(1.0);
buy_policy.Init(this, &inventory, std::string("inventory"), throughput,
active_dist_, dormant_dist_, size_dist_);
// buy_policy.Init(this, &inventory, std::string("inventory"), throughput);
// active_dist_ = new cyclus::FixedIntDist(1);
// int test = active_dist_->sample();

// dummy comp, use in_recipe if provided
cyclus::CompMap v;
Expand Down Expand Up @@ -222,9 +216,6 @@ void Storage::Tock() {
result = std::max_element(in_commod_prefs.begin(), in_commod_prefs.end());
int maxindx = std::distance(in_commod_prefs.begin(), result);
double demand = 0;
// if (manager()->context()->time() % (active_buying + dormant_buying) < active_buying) {
// demand = current_capacity();
// }
demand = current_capacity();

cyclus::toolkit::RecordTimeSeries<double>("demand"+in_commods[maxindx], this, demand);
Expand Down

0 comments on commit 014cc54

Please sign in to comment.