mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
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:
parent
32b0442c73
commit
212f26f759
@ -15,6 +15,7 @@
|
||||
#include <array>
|
||||
#include <vector>
|
||||
#include <cmath>
|
||||
#include <cstdlib>
|
||||
|
||||
#include "../plib/pconfig.h"
|
||||
#include "../plib/palloc.h"
|
||||
|
@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user