HeAP: Fix regression
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
parent
8e4e03d980
commit
589b267a93
@ -38,6 +38,8 @@ void taucif_finalise_matrix(struct taucif_system *sys) {
|
||||
}
|
||||
|
||||
int taucif_solve_system(struct taucif_system *sys, double *x, double *rhs) {
|
||||
if (sys->mat->n <= 2)
|
||||
return 0;
|
||||
// FIXME: preconditioner, droptol??
|
||||
taucs_ccs_matrix* precond_mat = taucs_ccs_factor_llt(sys->mat, 1e-2, 0);
|
||||
if (precond_mat == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user