Skip to content

Commit 14d5fef

Browse files
authored
Merge pull request #660 from Systems-Modeling/ST6RI-855/859
ST6RI-855/859 Fix eval invocations in TradeStudies model/Occurrences::surroundedByOccurrences::surroundingSpace should not be an end feature
2 parents 27192a1 + ce5f65c commit 14d5fef

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

sysml.library/Domain Libraries/Analysis/TradeStudies.sysml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ standard library package TradeStudies {
9595
* For a MinimizeObjective, the best value is the minimum one.
9696
*/
9797

98-
in x; fn(x)
98+
in x; eval(x)
9999
};
100100
}
101101

@@ -117,7 +117,7 @@ standard library package TradeStudies {
117117
* For a MinimizeObjective, the best value is the maximum one.
118118
*/
119119

120-
in x; fn(x)
120+
in x; eval(x)
121121
};
122122
}
123123

sysml.library/Kernel Libraries/Kernel Semantic Library/Occurrences.kerml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,8 @@ standard library package Occurrences {
601601
* Occurrences that have inner spaces that completely include this occurrence.
602602
*/
603603

604-
feature surroundedSpace: Occurrence[1] subsets that;
605-
end [1] feature surroundingSpace: Occurrence subsets self;
604+
feature surroundedSpace: Occurrence [1] subsets that;
605+
feature surroundingSpace: Occurrence [1] subsets self;
606606

607607
connector :InsideOf
608608
from [0..1] smallerOccurrence references surroundedSpace

0 commit comments

Comments
 (0)