Skip to content

Commit cb8c270

Browse files
Merge branch 'ovep-develop' into sync_msft_19112025
2 parents 4b1976a + a69cbf7 commit cb8c270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/openvino/ov_versions/capability.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ std::vector<std::unique_ptr<ComputeCapability>> GetCapability::Execute() {
181181
omit_subgraph = false;
182182
} else if (j < total_clusters - 1) {
183183
bool append_node = false;
184-
while (j < total_clusters && !append_node) {
184+
while (j < total_clusters - 1 && !append_node) {
185185
j = j + 1;
186186
append_node = AddTrivialClusterToNextClusterIfConnected(graph_viewer_, index, connected_clusters[j]);
187187
}

0 commit comments

Comments
 (0)