Opened 6 years ago
Closed 6 years ago
#5513 closed defect (duplicate)
OMEdit doesn't correctly insert "each" statement for arrays
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | OMEdit | Version: | v1.14.0-dev-nightly |
Keywords: | Cc: |
Description
In a new model, if you insert a Modelica.Mechanics.MultiBody.Parts.Body block and set the initialization of r_0.start to true via the GUI, then OMEdit fails to also insert the each
statement before the fixed = true
modifier.
In the new frontend, this causes the translation error:
[2] 11:31:29 Translation Notification From here: [3] 11:31:29 Translation Error [Modelica.Mechanics.MultiBody.Parts: 657:5-660:72]: Non-array modification ‘true‘ for array component ‘fixed‘, possibly due to missing ‘each‘.
There are two problems here:
1) OMEdit isn't inserting the "each" statement
2) The "From here:" notification is empty, so it is not clear where the problem is coming from
Note:
See TracTickets
for help on using tickets.
Duplicate of #5405