Skip to content

Commit

Permalink
reverts ucx/ucc port changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mstaylor committed Aug 2, 2023
1 parent 1e505ce commit cf699ab
Show file tree
Hide file tree
Showing 10 changed files with 710 additions and 2,539 deletions.
2 changes: 0 additions & 2 deletions cpp/src/cylon/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ add_library(cylon SHARED
util/to_string.hpp
util/uuid.cpp
util/uuid.hpp
util/PackString.hpp
util/PackString.cpp
scalar.cpp
scalar.hpp
net/ops/base_ops.hpp
Expand Down
4 changes: 2 additions & 2 deletions cpp/src/cylon/net/comm_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ class CommConfig {
std::string GetConfig(const std::string &key) {

auto iter = this->config.find(key);
if (iter != this->config.end()) {
if (iter == this->config.end()) {
return {};
}
return this->config.find(key)->second;
return iter->second;
}
public:
virtual CommType Type() = 0;
Expand Down
Loading

0 comments on commit cf699ab

Please sign in to comment.