Commit edcffc0a authored by Alessio Netti's avatar Alessio Netti
Browse files

Analytics: fixed "duplicate" option

- An operator naming conflict prevented the option from working correctly
parent 0525d36d
......@@ -206,6 +206,7 @@ public:
for(unsigned int i=0; i < numUnits; i++) {
O_Ptr opCopy = std::make_shared<Operator>(*op);
opCopy->setUnitID(i);
opCopy->setName(opCopy->getName() + "@" + op->getUnits()[i]->getName());
opCopy->collapseUnits();
storeOperator(opCopy);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment