Skip to content

Commit

Permalink
added a hook for the context to register a facility
Browse files Browse the repository at this point in the history
  • Loading branch information
gidden committed Oct 18, 2013
1 parent 4a810d9 commit 136d13a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/facility_model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ void FacilityModel::InitFrom(Model* m) {
fac_lifetime_ = fm->fac_lifetime_;
in_commods_ = fm->in_commods_;
out_commods_ = fm->out_commods_;
ctx_->RegisterFacility(this);
}

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down

0 comments on commit 136d13a

Please sign in to comment.