Skip to content

Commit

Permalink
fix Opattern::op::Or logic
Browse files Browse the repository at this point in the history
  • Loading branch information
itikhono committed Nov 21, 2024
1 parent 06f1c22 commit 1c7a72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/src/pattern/op/or.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ bool ov::pass::pattern::op::Or::match_value(Matcher* matcher,
auto saved = matcher->start_match();
if (matcher->match_value(input_value, graph_value)) {
auto& pattern_map = matcher->get_pattern_value_map();
pattern_map[input_value.get_node_shared_ptr()] = graph_value;
pattern_map[shared_from_this()] = graph_value;
return saved.finish(true);
}
}
Expand Down

0 comments on commit 1c7a72e

Please sign in to comment.