Fix clang build (nw)

- src/lib/netlist/solver/mat_cr.h:143:32: error: call to 'abs' is ambiguous
- src/lib/netlist/solver/nld_ms_direct.h:62:19: error: non-type template argument evaluates to 18446744073709551488, which cannot be narrowed to type 'int' [-Wc++11-narrowing]
This commit is contained in:
AJR 2019-01-26 18:32:16 -05:00
parent 32b0442c73
commit 212f26f759
2 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@
#include <array>
#include <vector>
#include <cmath>
#include <cstdlib>
#include "../plib/pconfig.h"
#include "../plib/palloc.h"

View File

@ -59,7 +59,7 @@ private:
const std::size_t m_dim;
const std::size_t m_pitch;
plib::parray<FT, SIZE * m_pitch_ABS> m_A;
plib::parray<FT, SIZE * int(m_pitch_ABS)> m_A;
};