From 267609cb6861f2f887b500b34874510dbee9917f Mon Sep 17 00:00:00 2001 From: Olivier BICHLER <olivier.bichler@cea.fr> Date: Fri, 15 Nov 2024 17:17:00 +0100 Subject: [PATCH] Fixed wrong overload being called --- src/operator/Memorize.cpp | 2 +- src/operator/Pop.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/operator/Memorize.cpp b/src/operator/Memorize.cpp index 61239071a..cd4a48081 100644 --- a/src/operator/Memorize.cpp +++ b/src/operator/Memorize.cpp @@ -150,7 +150,7 @@ void Aidge::Memorize_Op::setBackend(const std::string& name, Aidge::DeviceIdx_t } void Aidge::Memorize_Op::forward() { - Operator::forward(); + OperatorTensor::forward(); ++mAttributes->template getAttr<MemorizeAttr::ForwardStep>(); mAttributes->template getAttr<MemorizeAttr::ScheduleStep>() = 0; } diff --git a/src/operator/Pop.cpp b/src/operator/Pop.cpp index cd5b18759..2b7ab5257 100644 --- a/src/operator/Pop.cpp +++ b/src/operator/Pop.cpp @@ -93,7 +93,7 @@ std::set<std::string> Aidge::Pop_Op::getAvailableBackends() const { } void Aidge::Pop_Op::forward() { - Operator::forward(); + OperatorTensor::forward(); ++mAttributes->template getAttr<PopAttr::ForwardStep>(); } -- GitLab