diff --git a/src/libnptm/magma_calls.cpp b/src/libnptm/magma_calls.cpp index b44f89573fca3870e1d456fbe90790b114690e65..ab83103a4c0c5ddc469245291f6e6e6974e27b54 100644 --- a/src/libnptm/magma_calls.cpp +++ b/src/libnptm/magma_calls.cpp @@ -30,7 +30,7 @@ void magma_zinvert(dcomplex **mat, np_int n, int &jer) { // magma_int_t result = magma_init(); magma_int_t err = MAGMA_SUCCESS; magma_queue_t queue = NULL; - magma_int_t dev = 0; + magma_device_t dev = 0; magma_queue_create(dev, &queue); magmaDoubleComplex *dwork; // dwork - workspace magma_int_t ldwork; // size of dwork