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
Standardize code cont'd #1568
Standardize code cont'd #1568
Conversation
fa74984
to
ecd010c
Compare
Codecov Report
@@ Coverage Diff @@
## main #1568 +/- ##
==========================================
+ Coverage 70.50% 70.53% +0.03%
==========================================
Files 379 379
Lines 59112 59110 -2
Branches 21232 21232
==========================================
+ Hits 41675 41695 +20
+ Misses 14361 14340 -21
+ Partials 3076 3075 -1
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@speth ... per request, I added all remaining 'standardizations' in a single PR. I did not touch |
ecd010c
to
0abe19c
Compare
0abe19c
to
74aff50
Compare
Rebased to resolve merge conflict after #1570 |
This code isn't part of namespace Cantera, so can't use the typedefs that are specified in that 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.
I added a couple of commits to:
- fix compilation of the Matlab toolbox, which defines some functions outside of the
Cantera
namespace and therefore doesn't inherit theusing
statements from that namespace. - Do some opportunistic formatting cleanup where the shorter names allowed it. I figured just pushing this change was more efficient than leaving 100 comments on this PR.
Is there a reason for not specifically deprecating doublereal
and updating ctlapack.h
? I suspect the rationale described in config.h.in
is a little bit misguided -- I don't think there's any way for for the LAPACK/Fortran double precision type to be anything other than double
, and even if this was possible, I don't think it could be handled by a simple typedef.
Thanks for pushing corrections/updates directly, @speth ... didn't think about Matlab not using the namespace / Regarding leaving Unless you have other suggestions, this is good to go from my side. Let's see what merge conflicts will arise in #1567 (should be easy to clean up though). |
Changes proposed in this pull request
Implement remaining items from Cantera/enhancements#181
If applicable, fill in the issue number this pull request is fixing
Closes Cantera/enhancements#181
Checklist
scons build
&scons test
) and unit tests address code coverage