diff --git a/src/Accelerators/NNPA/Conversion/ONNXToZHigh/ONNXLegalityCheck.cpp b/src/Accelerators/NNPA/Conversion/ONNXToZHigh/ONNXLegalityCheck.cpp index 7fb6253bd2..0f37226ca8 100644 --- a/src/Accelerators/NNPA/Conversion/ONNXToZHigh/ONNXLegalityCheck.cpp +++ b/src/Accelerators/NNPA/Conversion/ONNXToZHigh/ONNXLegalityCheck.cpp @@ -30,7 +30,7 @@ float convertNNPALevel(std::string inputNNPALevel) { try { retNNPAFloat = std::strtof( inputNNPALevel.substr(1, inputNNPALevel.size()).c_str(), NULL); - } catch(...) { + } catch (...) { retNNPAFloat = 0; } return retNNPAFloat;