build(GridFire): building on gcc and clang

resolved some issues preventing GridFire from building on both gcc and clang. Also resolved all warnings on both compilers.
This commit is contained in:
2025-07-24 10:20:44 -04:00
parent c3bc75a7f4
commit cc3708fda5
11 changed files with 32 additions and 22 deletions

View File

@@ -221,8 +221,8 @@ namespace gridfire::solver {
size_t numSpecies = m_engine.getNetworkSpecies().size();
J.resize(numSpecies+1, numSpecies+1);
J.clear();
for (int i = 0; i < numSpecies; ++i) {
for (int j = 0; j < numSpecies; ++j) {
for (size_t i = 0; i < numSpecies; ++i) {
for (size_t j = 0; j < numSpecies; ++j) {
J(i, j) = m_engine.getJacobianMatrixEntry(i, j);
}
}