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 |
speth
left a comment
There was a problem hiding this comment.
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 ... |
|
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...Eigenusesintto index, compared to most internal indices beingsize_tReactorNet.hKinetics.net_production_rates_ddXinstead ofKinetics.net_production_rate_ddX), as introduced in Sparse Jacobians for GasKinetics #1089Checklist
scons build&scons test) and unit tests address code coverage