-
Notifications
You must be signed in to change notification settings - Fork 104
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
Namespace ies #2621
Namespace ies #2621
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2621 +/- ##
==========================================
+ Coverage 60.95% 65.05% +4.09%
==========================================
Files 339 651 +312
Lines 36582 53908 +17326
Branches 4540 4610 +70
==========================================
+ Hits 22300 35069 +12769
- Misses 12827 17358 +4531
- Partials 1455 1481 +26
Continue to review full report at Codecov.
|
71b0366
to
1cd1c8b
Compare
Ready for review from my side |
08665bc
to
697602a
Compare
ies_enkf_config_type *config = ies_enkf_data_get_config(module_data); | ||
namespace { | ||
|
||
bool set_int(void *arg, const char *var_name, int value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be a stupid question, but why are these not in the ies namespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are private - accessed through the functions pointers in struct analysis_table_type
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gotcha!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, looks like a good improvement! Some small comments, but the nature of the subject means most of them are opinionated. I think it could befit for a further splitting up though, in the way of a nested namespace, as the remaining function names often point to that I feel.
c6988c8
to
0eba55c
Compare
Hmmm - these failing equinor tests I do not have control over. |
Can this be merged? |
0eba55c
to
d17168f
Compare
|
Seems like all PR's are getting this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
2de7561
to
97b7b99
Compare
test ert please |
How can I force a rerun of the Equinor tests? |
test ert please |
97b7b99
to
8bc0590
Compare
8bc0590
to
0dd98aa
Compare
Introduce
namespace ies::
Have opted to
ies::
explicitly in the implementation, instead of enclosing implementation files innamespace ies { ... }
- that is to avoid "visual name confusion".