Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperzhong committed Jan 19, 2021
1 parent 40ec326 commit 83c6c8a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions byteps/server/server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ void SendPullResponse(const DataHandleType type, const uint64_t key,
data = updates.merged.tensor;
len = updates.merged.len;
} else {
auto stored = GetStore(key);
CHECK(stored->tensor) << "init " << key << " first";
data = stored->tensor;
len = stored->len;
auto stored = store_.at(key);
CHECK(stored.tensor) << "init " << key << " first";
data = stored.tensor;
len = stored.len;
}

// send pull response
Expand Down

0 comments on commit 83c6c8a

Please sign in to comment.