Changeset c8bb2af in OpenModelica
- Timestamp:
- 2010-11-24T08:50:34+01:00 (14 years ago)
- Branches:
- Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
- Children:
- d39eb19
- Parents:
- 41286c7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Compiler/Types.mo
ra034170 rc8bb2af 1530 1530 true; 1531 1531 1532 // adrpo, Type should be ok to match a Type[0] when checkModel is ON 1533 case (t1, (DAE.T_ARRAY(arrayDim = DAE.DIM_INTEGER(0), arrayType = t2), _)) 1534 equation 1535 true = OptManager.getOption("checkModel"); 1536 true = subtype(t1, t2); 1537 then 1538 true; 1539 1540 // adrpo, Type[0] should be ok to match a Type when checkModel is ON 1541 case ((DAE.T_ARRAY(arrayDim = DAE.DIM_INTEGER(0), arrayType = t1), _), t2) 1542 equation 1543 true = OptManager.getOption("checkModel"); 1544 true = subtype(t1, t2); 1545 then 1546 true; 1547 1532 1548 // Array 1533 1549 case ((DAE.T_ARRAY(arrayDim = dim1,arrayType = t1),_),(DAE.T_ARRAY(arrayDim = dim2,arrayType = t2),_))
Note: See TracChangeset
for help on using the changeset viewer.