Skip to content

Commit

Permalink
Fix GitHub cpplint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianlizarraga committed Jul 23, 2024
1 parent 51ace3a commit 8fbe4e3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <optional>
#include <queue>
#include <sstream>
#include <utility>

#include "core/common/inlined_containers_fwd.h"
#include "core/graph/extended_graph_edge.h"
Expand Down Expand Up @@ -75,7 +76,8 @@ Status ValidateQDQInsertionEdges(Graph& graph, gsl::span<const ExtendedGraphEdge

ORT_RETURN_IF_NOT((edge_src_info.has_value() == src_info.has_value()) &&
(!src_info.has_value() ||
(src_info->node_idx == edge_src_info->node_idx && src_info->arg_idx == edge_src_info->arg_idx)),
(src_info->node_idx == edge_src_info->node_idx &&
src_info->arg_idx == edge_src_info->arg_idx)),
"Expect all insertion edges to come from the same source node's output slot.");

const Node* edge_dst_node = insertion_edge.GetNodeAtEnd(graph, ExtendedGraphEdge::End::Destination);
Expand Down

0 comments on commit 8fbe4e3

Please sign in to comment.