-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
Fix MSVC-specific compiler warnings / tweak method names #1168
Conversation
0f23536
to
8aaf9db
Compare
Codecov Report
@@ Coverage Diff @@
## main #1168 +/- ##
==========================================
- Coverage 65.35% 65.35% -0.01%
==========================================
Files 315 315
Lines 45995 45999 +4
Branches 19531 19531
==========================================
+ Hits 30060 30062 +2
- Misses 13443 13445 +2
Partials 2492 2492
Continue to review full report at Codecov.
|
@speth ... looks like I overlooked an 's' in the accessor method names in #1089 (oops, had skipped a redundant ‘s’ on purpose when the names were longer, but with the updated |
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 trying to clean these up. Compiler warnings that sneak in on other platforms are always kind of an unpleasant surprise when you switch to a new build environment.
830cdc7
to
cb52244
Compare
Eigen uses 'int' to index, whereas Cantera uses 'size_t'. This fix avoids MSVC-specific compiler warnings.
cb52244
to
ab062e7
Compare
@speth ... thanks for the review suggestions! I believe it's all taken care of. |
This should be it though ... |
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.
Looks good to me.
Thanks!! |
Changes proposed in this pull request
Over the past couple of merges, several windows (MSVC)-specific compiler warnings appeared that were not caught when developing with
g++
. Some of the warnings are quite long, despite being triggered by trivial causes. The following are affected:StoichManager.h
/ThirdBodyCalc.h
...Eigen
usesint
to index, compared to most internal indices beingsize_t
ReactorNet.h
Kinetics.net_production_rates_ddX
instead ofKinetics.net_production_rate_ddX
), as introduced in Sparse Jacobians for GasKinetics #1089Checklist
scons build
&scons test
) and unit tests address code coverage