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

MacroStaticReference is included into AbstractBlackBoxModel #139

Closed
wants to merge 2 commits into from

Conversation

dimbdr
Copy link
Contributor

@dimbdr dimbdr commented Dec 1, 2022

By design, all instances of one class derived from AbstractBlackBoxModelWithStaticRef implements getMacroStaticReference, and gives a unique MacroStaticReference according to the implementation of the target class.

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

  • The commit message follows our guidelines

Does this PR already have an issue describing the problem ? If so, link to this issue using '#XXX' and skip the rest
fixes #112

By design, all instances of one class derived from AbstractBlackBoxModel implements getMacroStaticReference, and gives a unique MacroStaticReference according to the implementation of the target class.

Signed-off-by: BAUDRIER Dimitri <dimitri.baudrier@rte-france.com>
Signed-off-by: BAUDRIER Dimitri <dimitri.baudrier@rte-france.com>
@sonarcloud
Copy link

sonarcloud bot commented Dec 23, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@dimbdr dimbdr changed the title MacroStaticReference is included into AbstractBlackBoxModelWithStaticRef MacroStaticReference is included into AbstractBlackBoxModel Dec 27, 2022
@flo-dup
Copy link
Contributor

flo-dup commented Jan 4, 2023

With the latest PR #146 this cannot work anymore: one single class is now used for several black box models

@flo-dup flo-dup closed this Jan 4, 2023
@flo-dup flo-dup deleted the issue-112 branch January 4, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enforce unique MacroStaticReference for each dynamic model
2 participants