Skip to content

Commit

Permalink
updated with cyclus core
Browse files Browse the repository at this point in the history
  • Loading branch information
gidden committed May 27, 2014
1 parent a2b1019 commit 401e733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manager_inst.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void ManagerInst::EnterNotify() {
using cyclus::toolkit::CommodityProducer;
std::vector<std::string>::iterator vit;
for (vit = prototypes.begin(); vit != prototypes.end(); ++vit) {
Agent* a = context()->prototype(*vit);
Agent* a = context()->CreateAgent<Agent>(*vit);
CommodityProducer* cp_cast = dynamic_cast<CommodityProducer*>(a);
if (cp_cast != NULL) {
LOG(cyclus::LEV_INFO3, "mani") << "Registering prototype "
Expand Down

0 comments on commit 401e733

Please sign in to comment.