Changes between Initial Version and Version 2 of Ticket #4936


Ignore:
Timestamp:
2018-05-14T09:48:43Z (7 years ago)
Author:
Per Östlund
Comment:

Added code formatting to description.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4936

    • Property Component *unknown*Code Generation
    • Property Milestone Future1.13.0
    • Property Owner changed from somebody to Lennart Ochel
  • Ticket #4936 – Description

    initial v2  
    11When trying to simulate the following model with OM 1.13.0~dev-960-ged88ece on Linux, I get the error "Dimension 1 has bounds 1..10, got array subscript 0".
    2 -------------------------------
     2{{{#!mo
    33model GameofLife
    44  parameter Integer n=10; //dimension of the cellular space
     
    4646
    4747end GameofLife;
    48 -------------------------------
     48}}}
    4949Error seems to be in line 26 "neighbors := ...".
    5050