Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rvinaybharadwaj committed Sep 25, 2024
1 parent 7a70055 commit cc4ceba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/feeder/json_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ JSONNode::JSONNode(const JSONNode& t) {
children_vec_json = t.children_vec_json;
children_set_json = t.children_set_json;

if (node_type == NodeType::COMM_SEND_NODE || \
node_type == NodeType::COMM_RECV_NODE || \
if (node_type == NodeType::COMM_SEND_NODE ||
node_type == NodeType::COMM_RECV_NODE ||
node_type == NodeType::COMM_COLL_NODE) {
tensor_size = t.tensor_size;
comm_type = t.comm_type;
Expand Down Expand Up @@ -61,8 +61,8 @@ JSONNode::JSONNode(json data, uint64_t id) {
std::cerr << "data deps not specified in ET" << std::endl;
}

if (node_type == NodeType::COMM_SEND_NODE || \
node_type == NodeType::COMM_RECV_NODE || \
if (node_type == NodeType::COMM_SEND_NODE ||
node_type == NodeType::COMM_RECV_NODE ||
node_type == NodeType::COMM_COLL_NODE) {
try {
tensor_size = data["workload_graph"][id]["tensor_size"];
Expand Down
2 changes: 1 addition & 1 deletion src/feeder/wrapper_node.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once

#include "json_node.h"
#include "et_feeder.h"
#include "et_feeder_node.h"
#include "json_node.h"

using json = nlohmann::json;

Expand Down

0 comments on commit cc4ceba

Please sign in to comment.