-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5934 from awallace-cray/chapdev-204
Fix rank changes with mixed stride (cherry-pick #5929) [approved for release/1.15]
- Loading branch information
Showing
3 changed files
with
92 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
config const n = 5; | ||
config const it = 3; | ||
|
||
var b: [0..n+1, 0..n+1, 0..1] bool; | ||
|
||
b[2..n-1 by 2, 2..n-1, 0] = true; | ||
|
||
writeln(b); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
|
||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
|
||
false false | ||
false false | ||
true false | ||
true false | ||
true false | ||
false false | ||
false false | ||
|
||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
|
||
false false | ||
false false | ||
true false | ||
true false | ||
true false | ||
false false | ||
false false | ||
|
||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
|
||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
false false | ||
false false |