From 737d8ad1a5bad0dd86dffe19ad0d11df0ff62540 Mon Sep 17 00:00:00 2001 From: Olivier BICHLER <olivier.bichler@cea.fr> Date: Fri, 30 Aug 2024 14:25:42 +0200 Subject: [PATCH] Fixed merge with dev --- include/aidge/operator/Abs.hpp | 2 +- include/aidge/operator/DepthToSpace.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/aidge/operator/Abs.hpp b/include/aidge/operator/Abs.hpp index 3c2f1bb38..a975faa24 100644 --- a/include/aidge/operator/Abs.hpp +++ b/include/aidge/operator/Abs.hpp @@ -25,7 +25,7 @@ namespace Aidge { class Abs_Op : public OperatorTensor, - public Registrable<Abs_Op, std::string, std::shared_ptr<OperatorImpl>(const Abs_Op&)> { + public Registrable<Abs_Op, std::string, std::function<std::shared_ptr<OperatorImpl>(const Abs_Op&)>> { public: static const std::string Type; diff --git a/include/aidge/operator/DepthToSpace.hpp b/include/aidge/operator/DepthToSpace.hpp index 72ff83834..0c74d4942 100644 --- a/include/aidge/operator/DepthToSpace.hpp +++ b/include/aidge/operator/DepthToSpace.hpp @@ -35,7 +35,7 @@ enum class DepthToSpaceAttr { BlockSize, Mode }; class DepthToSpace_Op : public OperatorTensor, public Registrable<DepthToSpace_Op, std::string, - std::shared_ptr<OperatorImpl>(const DepthToSpace_Op &)> { + std::function<std::shared_ptr<OperatorImpl>(const DepthToSpace_Op &)>> { public: static const std::string Type; enum class Mode { DCR, CRD }; -- GitLab