diff --git a/src/backend/OperatorImpl.cpp b/src/backend/OperatorImpl.cpp index 1708d9e36c174527c648e37b63b080211aa6df05..c74b538a4e566b3b88e77dd4d097344d52838505 100644 --- a/src/backend/OperatorImpl.cpp +++ b/src/backend/OperatorImpl.cpp @@ -95,7 +95,7 @@ Aidge::ImplSpec Aidge::OperatorImpl::getBestMatch(const ImplSpec& requiredSpecs) Log::debug("getBestMatch() for requirements: {}", requiredSpecs); const auto availableSpecsSet = getAvailableImplSpecs(); - AIDGE_ASSERT(availableSpecsSet.size() > 0 , + AIDGE_ASSERT(availableSpecsSet.size() > 0 , "OperatorImpl::getBestMatch(): No available specs found by" "getAvailableSpecs(). " "Cannot find best implementation for required specs, aborting."); @@ -139,7 +139,7 @@ Aidge::ImplSpec Aidge::OperatorImpl::getBestMatch(const ImplSpec& requiredSpecs) if (mandatory) { // Required attribute: if (!spec.attrs.hasAttr(name)) { - Log::debug("Could not find mandatory attribute {} value {}.", name); + Log::debug("Could not find mandatory attribute '{}'.", name); // Missing attribute match = false; break; diff --git a/src/operator/OperatorTensor.cpp b/src/operator/OperatorTensor.cpp index 586dbc2037d36d26f39dd06404b3b70b99270c1e..3bdb4b17127eb8a9115f8dec045db32bf041b00b 100644 --- a/src/operator/OperatorTensor.cpp +++ b/src/operator/OperatorTensor.cpp @@ -88,7 +88,7 @@ std::shared_ptr<Aidge::Data> Aidge::OperatorTensor::getRawOutput(const Aidge::IO } const std::shared_ptr<Aidge::Tensor>& Aidge::OperatorTensor::getOutput(const Aidge::IOIndex_t outputIdx) const { - AIDGE_ASSERT(outputIdx < nbOutputs(), "{} Operator has {} outputs", type(), nbOutputs()); + AIDGE_ASSERT(outputIdx < nbOutputs(), "{} Operator has {} outputs, asked for output#{}", type(), nbOutputs(), outputIdx); return mOutputs[outputIdx]; }