fix(gcc): static_cast long int -> size_t for comparision

address IDB warnings in gcc build
This commit is contained in:
2025-12-22 07:39:59 -05:00
parent e3b2a19de6
commit 1a5bd2b32c
3 changed files with 3 additions and 3 deletions

View File

@@ -344,7 +344,7 @@ namespace fourdst::composition {
throw_unregistered_symbol(getLogger(), std::string(species.name()));
}
assert(speciesIndexResult.value() < m_molarAbundances.size());
assert(static_cast<size_t>(speciesIndexResult.value()) < m_molarAbundances.size());
m_molarAbundances[speciesIndexResult.value()] = molar_abundance;
m_cache.clear();