We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d615b50 commit 1d89c1dCopy full SHA for 1d89c1d
1 file changed
lib/matrix.h
@@ -50,7 +50,7 @@ inline void MatrixClear(Matrix<fp_type>& m) {
50
*/
51
template <typename fp_type>
52
inline void MatrixIdentity(unsigned n, Matrix<fp_type>& m) {
53
- m.resize(2 * n * n);
+ m.resize(2 * static_cast<typename Matrix<fp_type>::size_type>(n) * n);
54
55
MatrixClear(m);
56
0 commit comments