Fix array sizes in creation

This commit is contained in:
Ian Bell
2025-05-18 13:53:59 -04:00
committed by GitHub
parent d2a9cc16d9
commit 8df4bb864f

View File

@@ -741,8 +741,8 @@ class ResidualHelmholtzSAFTAssociating : public BaseHelmholtzTerm
class BaseHelmholtzContainer
{
protected:
std::array<double, 16> cache = create_filled_array<double, N>(_HUGE);
std::array<bool, 16> is_cached = create_filled_array<bool, N>(false);
std::array<double, 16> cache = create_filled_array<double, 16>(_HUGE);
std::array<bool, 16> is_cached = create_filled_array<bool, 16>(false);
constexpr static std::size_t i00 = 0, i01 = 1, i02 = 2, i03 = 3, i04 = 4,
i10 = 5, i11 = 6, i12 = 7, i13 = 8,
i20 = 9, i21 = 10, i22 = 11,