Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/internal/ChapelRange.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -432,13 +432,13 @@ module ChapelRange {
compilerError("Ranges defined using bounds of type '" + low.type:string + ".." + high.type:string + "' are not currently supported");
}

proc chpl__nudgeLowBound(low) {
inline proc chpl__nudgeLowBound(low) {
return chpl__intToIdx(low.type, chpl__idxToInt(low) + 1);
}
proc chpl__nudgeLowBound(param low) param {
return chpl__intToIdx(low.type, chpl__idxToInt(low) + 1);
}
proc chpl__nudgeHighBound(high) {
inline proc chpl__nudgeHighBound(high) {
return chpl__intToIdx(high.type, chpl__idxToInt(high) - 1);
}
proc chpl__nudgeHighBound(param high) param {
Expand Down