Skip to content

Commit

Permalink
Merge pull request #949 from ronawho/fix-llls-early-return
Browse files Browse the repository at this point in the history
Fix early return in lowLevelLocalizingSlice init
  • Loading branch information
reuster986 authored Oct 6, 2021
2 parents be14087 + b9088e9 commit 7c18062
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AryUtil.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ module AryUtil

this.t = t;
if region.isEmpty() {
this.ptr = c_nil;
this.isOwned = false;
return;
}
ref start = A[region.low];
Expand Down

0 comments on commit 7c18062

Please sign in to comment.