diff options
Diffstat (limited to 'src/lib/netlist/solver/nld_ms_direct.h')
-rw-r--r-- | src/lib/netlist/solver/nld_ms_direct.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/solver/nld_ms_direct.h b/src/lib/netlist/solver/nld_ms_direct.h index 835a808c1c9..7ea9a57ece2 100644 --- a/src/lib/netlist/solver/nld_ms_direct.h +++ b/src/lib/netlist/solver/nld_ms_direct.h @@ -36,7 +36,7 @@ namespace netlist #if TEST_PARALLEL #define MAXTHR 10 -static const int num_thr = 3; +static constexpr int num_thr = 3; struct thr_intf { @@ -165,7 +165,7 @@ protected: private: //static const std::size_t m_pitch = (((storage_N + 1) + 0) / 1) * 1; - static const std::size_t m_pitch = (((storage_N + 1) + 7) / 8) * 8; + static constexpr std::size_t m_pitch = (((storage_N + 1) + 7) / 8) * 8; //static const std::size_t m_pitch = (((storage_N + 1) + 15) / 16) * 16; //static const std::size_t m_pitch = (((storage_N + 1) + 31) / 32) * 32; #if (NL_USE_DYNAMIC_ALLOCATION) |