Skip to content
Snippets Groups Projects
Commit 165c64e9 authored by Mulas, Giacomo's avatar Mulas, Giacomo
Browse files

lapack_calls.cpp must only be compiled if USE_LAPACK is defined

parent ab3bc98c
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,8 @@
#endif
#endif
void zinvert(std::complex<double> **mat, lapack_int n, int &jer) {
#ifdef USE_LAPACK
void zinvert(std::complex<double> **mat, lapack_int n, int &jer) {
jer = 0;
__complex__ double *arr = new __complex__ double[n * n];
const __complex__ double uim = 1.0*I;
......@@ -44,5 +44,5 @@ void zinvert(std::complex<double> **mat, lapack_int n, int &jer) {
}
delete[] IPIV;
delete[] arr;
#endif
}
#endif
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