diff --git a/src/common/snippets/src/pass/collapse_subgraph.cpp b/src/common/snippets/src/pass/collapse_subgraph.cpp index e6b2304234ff09..1f60fc99c6736b 100644 --- a/src/common/snippets/src/pass/collapse_subgraph.cpp +++ b/src/common/snippets/src/pass/collapse_subgraph.cpp @@ -126,7 +126,7 @@ auto has_supported_in_out(const std::shared_ptr &n) -> bool { // So i32 is supported exclusively for transposes return t.get_partial_shape().is_static() && (supported_data_types.count(t.get_element_type()) != 0 || - ov::is_type(n) && t.get_element_type() == ngraph::element::i32); + (ov::is_type(n) && t.get_element_type() == ngraph::element::i32)); }; const auto & inputs = n->inputs(); const auto & outputs = n->outputs(); diff --git a/src/common/snippets/src/pass/insert_loops.cpp b/src/common/snippets/src/pass/insert_loops.cpp index b05aa3b35cba7b..d594f864d5ccde 100644 --- a/src/common/snippets/src/pass/insert_loops.cpp +++ b/src/common/snippets/src/pass/insert_loops.cpp @@ -10,7 +10,7 @@ ngraph::snippets::pass::InsertLoops::InsertLoops(ov::PartialShape master_shape, size_t loop_depth, size_t vector_size) : m_master_shape(std::move(master_shape)), m_loop_depth(loop_depth), m_vector_size(vector_size) { - if (m_master_shape.size() <= m_loop_depth) + if (m_master_shape.size() < m_loop_depth) throw ngraph_error("InsertLoops can't insert loops: master shape rank is too small"); }