Commit 9840b000 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Protect extern declaration of invert_matrix_gpu() with compilation flags

parent 554f9158
Loading
Loading
Loading
Loading
+2 −0
Changes for src/libnptm/algebraic.cpp: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -65,7 +65,9 @@ using namespace std;

// >>> FALL-BACK FUNCTIONS DECLARATION <<< //
extern void lucin(dcomplex **am, const np_int nddmst, np_int n, int &ier);
#ifdef ENABLE_QUADS
extern void invert_matrix_gpu(dd_complex* h_A, dd_complex* h_Ainv, long long n);
#endif // ENABLE_QUADS
// >>>   END OF FALL-BACK FUNCTIONS    <<< //

using namespace std;