Skip to content

Commit

Permalink
Get rid of the two-part initializers I accidentally inherited from Block
Browse files Browse the repository at this point in the history
(not needed here... I'd forgotten they'd been done there, copy-pasted,
and when things worked, didn't look closer)

---
Signed-off-by: Brad Chamberlain <[email protected]>
  • Loading branch information
bradcray committed Sep 15, 2023
1 parent 28c1f44 commit d5814a9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions modules/dists/BlockCycDist.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,6 @@ record blockCycDist: writeSerializable {

forwarding const chpl_distHelp: chpl_PrivatizedDistHelper(unmanaged BlockCyclicImpl(rank, idxType));

pragma "last resort"
@unstable("passing arguments other than 'boundingBox' and 'targetLocales' to 'blockCycDist' is currently unstable")
proc init(startIdx,
blocksize,
targetLocales: [] locale = Locales,
Expand All @@ -211,16 +209,6 @@ record blockCycDist: writeSerializable {
value);
}

proc init(boundingBox: domain,
targetLocales: [] locale = Locales)
{
this.init(boundingBox, targetLocales,
/* by specifying even one unstable argument, this should select
the whole unstable constructor, which has defaults for everything
else. */
dataParTasksPerLocale=getDataParTasksPerLocale());
}

proc init(_pid : int, _instance, _unowned : bool) {
this.rank = _instance.rank;
this.idxType = _instance.idxType;
Expand Down

0 comments on commit d5814a9

Please sign in to comment.