rcasteran / jarvis4se

JARVIS for Systems Engineers
https://regis-casteran.gitbook.io/jarvis4se/
MIT License
3 stars 1 forks source link

Allocation of function to functional element child does not work #12

Closed rcasteran closed 2 years ago

rcasteran commented 2 years ago

Impacted version jarvis4se version: 1.1.2

Describe the bug Allocation of function child to a functional element child does not work if function parent of this child is already allocated to the functional element parent

To Reproduce Executing the following commands does not allow to allocate F2 to E1:

%%jarvis
with test
MF is a function
E is a functional element
E allocates MF

F1 is a function
MF is composed of F1
F2 is a function
F1 is composed of F2

E1 is a functional element
E is composed of E1
%%jarvis
with test
E1 allocates F2

show decomposition E

Expected behavior F2 must be allocated to E1

Screenshots None

Desktop (please complete the following information):