Commit f3dd5b9a authored by Jonathan Jenkins's avatar Jonathan Jenkins
Browse files

typo in conditional

parent 5edcac2d
...@@ -361,7 +361,7 @@ hg_return_t ssg_lookup(ssg_t s, hg_context_t *hgctx) ...@@ -361,7 +361,7 @@ hg_return_t ssg_lookup(ssg_t s, hg_context_t *hgctx)
// rank is set, perform lookup // rank is set, perform lookup
hg_return_t hret; hg_return_t hret;
for (int i = (s->rank == SSG_EXTERNAL_RANK); i < s->num_addrs; i++) { for (int i = (s->rank != SSG_EXTERNAL_RANK); i < s->num_addrs; i++) {
int r = (eff_rank+i) % s->num_addrs; int r = (eff_rank+i) % s->num_addrs;
out[r].cb_count = &cb_count; out[r].cb_count = &cb_count;
hret = HG_Addr_lookup(hgctx, &ssg_lookup_cb, &out[r], hret = HG_Addr_lookup(hgctx, &ssg_lookup_cb, &out[r],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment