Skip to content

Commit

Permalink
fix bug found in code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpotts committed Sep 19, 2024
1 parent f9f1764 commit b57710e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SortMsg.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ module SortMsg

proc doSearch(const ref a1: [] real, const ref a2: [?d] real, cmp) {
forall idx in ret.domain {
const (_, i) = Search.binarySearch(x1, x2[idx], cmp);
const (_, i) = Search.binarySearch(a1, a2[idx], cmp);
ret[idx] = i;
}
}
Expand Down

0 comments on commit b57710e

Please sign in to comment.