Skip to content
Snippets Groups Projects
Commit cab99651 authored by Olivier BICHLER's avatar Olivier BICHLER Committed by Maxence Naud
Browse files

Added doc comment

parent dc82c0f5
No related branches found
No related tags found
1 merge request!325[Upd] Patch v0.5.1
......@@ -73,6 +73,9 @@ Aidge::MetaOperator_Op::MetaOperator_Op(const MetaOperator_Op& op)
std::shared_ptr<Aidge::Operator> Aidge::MetaOperator_Op::clone() const {
auto metaOp = std::make_shared<MetaOperator_Op>(*this);
if (mImpl) {
// Only setBackend() is mImpl is not nullptr.
// The inner-graph backend is already set in MetaOperator_Op copy
// construtor, when the graph is cloned.
metaOp->setBackend(mImpl->backend());
}
return metaOp;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment