diff options
Diffstat (limited to 'pssolve.c')
-rw-r--r-- | pssolve.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -73,7 +73,7 @@ typedef struct ConstructMatrixThread { unsigned int var_idx; } ConstructMatrixThread; -static void construct_matrix(void *arg, unsigned int job_idx, unsigned int thread_idx) +static int construct_matrix(void *arg, unsigned int job_idx, unsigned int thread_idx) { ConstructMatrixThread *cmt = arg; const PSEquationContext *eq_ctx = cmt->eq_ctx; @@ -92,6 +92,8 @@ static void construct_matrix(void *arg, unsigned int job_idx, unsigned int threa mat[idx_grid + mat_stride * idx_coeff] = val; } + + return 0; } static int lu_invert(TDLogger *logger, const int N, double *mat, double *rhs, int *ipiv) |