Skip to content

Commit 7d01b53

Browse files
authored
Merge branch 'master' into mh-fix-694
2 parents 817793c + 1d89c1d commit 7d01b53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matrix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ inline void MatrixClear(Matrix<fp_type>& m) {
5050
*/
5151
template <typename fp_type>
5252
inline void MatrixIdentity(unsigned n, Matrix<fp_type>& m) {
53-
m.resize(2 * n * n);
53+
m.resize(2 * static_cast<typename Matrix<fp_type>::size_type>(n) * n);
5454

5555
MatrixClear(m);
5656

0 commit comments

Comments
 (0)