Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow variable redefinition in fault trees #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions mef/fault_tree_layer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ This description allows loops (in the sense defined above),
multiple definitions and trees with multiple top events.
The presence of loops must be detected by a specific check procedure.
If a variable or a parameter is declared more than once,
tools should emit a warning
and consider only the last definition as the good one (the previous ones are just ignored).
tools should emit an error (consistent with the declarative nature of the language).
In some circumstances, it is of interest to define several fault trees at once
by means of a unique set of declarations.
Therefore, the presence of multiple top events should not be prevented.
Expand Down