Hi Damian —

That error messages suggests to me that you're not compiling with version 1.22.0. Could you run `chpl --version` in that workspace to verify?

-Brad


On Mon, 31 Aug 2020, Damian McGuckin wrote:


I compiled it with 1.22.0 and I get:

$CHPL_HOME/modules/internal/DefaultRectangular.chpl:582: In function 'dsiDim': $CHPL_HOME/modules/internal/DefaultRectangular.chpl:583: error: tuple index 0 is out of bounds $CHPL_HOME/modules/internal/DefaultRectangular.chpl:583: note: tuple elements start at index 1 $CHPL_HOME/modules/internal/ChapelArray.chpl:1392: Function 'dsiDim' instantiated as: dsiDim(this: borrowed domain(2,int(64),false), param d = 0)

Sure, the Matrix is indexed from 0 but I can see nothing in the code that should stop it compiling with 1.22.0. Besides, 1.22.0 is the release with tuples which begin with 0.

Regards - Damian

Pacific Engineering Systems International, 277-279 Broadway, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer


_______________________________________________
Chapel-developers mailing list
Chapel-developers@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_chapel-2Ddevelopers&d=DwICAg&c=C5b8zRQO1miGmBeVZ2LFWg&r=QUQW-BniEL_d2a7btR4rP5TPiNmpm1pG-Qa_xXzGVKc&m=Ll-QKque2gISU-_vKw5rkeEELxW0xOLi9j4_ZUkAcvk&s=8LmuEL7DVmDDmsa2VW8l0NzNUBURXR0wqhu3MNakchM&e=
_______________________________________________
Chapel-developers mailing list
Chapel-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to