From b5fa988fefca328afa4277f907d526a3ea6ee07e Mon Sep 17 00:00:00 2001 From: Maxence Naud <maxence.naud@cea.fr> Date: Mon, 25 Sep 2023 12:12:45 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- include/aidge/hook/outputRange.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/aidge/hook/outputRange.hpp b/include/aidge/hook/outputRange.hpp index 3473145f3..75462435d 100644 --- a/include/aidge/hook/outputRange.hpp +++ b/include/aidge/hook/outputRange.hpp @@ -35,7 +35,7 @@ public: void call() override final { //std::cout << "call() outputRange hook " << std::endl; //this assumes there is only 1 output possible - std::shared_ptr<Tensor> tensor = std::static_pointer_cast<Tensor>(this->mOperator->getOutput(0)); + std::shared_ptr<Tensor> tensor = mOperator->getOutput(0); //tensor->print(); //std::cout << "call() outputRange hook : tensor printed" << std::endl; float max_value = 0.; -- GitLab