Opened 14 years ago
Last modified 14 years ago
#1238 closed defect (fixed)
Allow several .-modifiers
Reported by: | Karin Gustafsson | Owned by: | Karin Gustafsson |
---|---|---|---|
Priority: | blocker | Milestone: | White December |
Component: | Version: | ||
Keywords: | Cc: | Karin Gustafsson, Adrian Pop |
Description
See the attached models. They are both correct but the stateSelect are set in two diffrent ways, one in the parameters and one in the variables. Only one of them is possible to validate.
The modification
(phi.start=0, phi.stateSelect=StateSelect?.always)
results in the error message:
Multiple modifers in same scope for element phi, from calling scope: inertia1
Setting to major since this is a common way of modifiers and one of our customers have had problems with this kind of models.
Attachments (2)
Change History (6)
by , 14 years ago
comment:1 by , 14 years ago
comment:2 by , 14 years ago
This is a blocker for us since the model editor produces such modifiers and it is very common in models.
comment:3 by , 14 years ago
I have a fix for this. I'll check it in after a bit more testing as I want to get rid of the warning too.
comment:4 by , 14 years ago
solved in revision 7325 in /trunk, will push the changes to the branch tomorrow.
: ”MathCore TRAC: http://intranet/trac/mathmodelica/ticket/2910”