Skip to content
Snippets Groups Projects
Commit 726fcfc3 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Use lapack_int type for matrix dimension

parent 44db1f6e
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ void zinvert(std::complex<double> **mat, lapack_int n, int &jer) { ...@@ -17,7 +17,7 @@ void zinvert(std::complex<double> **mat, lapack_int n, int &jer) {
} }
} }
int* IPIV = new int[n](); lapack_int* IPIV = new lapack_int[n]();
LAPACKE_zgetrf(LAPACK_ROW_MAJOR, n, n, arr, n, IPIV); LAPACKE_zgetrf(LAPACK_ROW_MAJOR, n, n, arr, n, IPIV);
LAPACKE_zgetri(LAPACK_ROW_MAJOR, n, arr, n, IPIV); LAPACKE_zgetri(LAPACK_ROW_MAJOR, n, arr, n, IPIV);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment