Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTimothyAldenDavis committed Feb 20, 2024
1 parent fa147f6 commit 1ed91eb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SPEX/SPEX_Cholesky/Source/spex_cholesky_up_triangular_solve.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,9 @@ SPEX_info spex_cholesky_up_triangular_solve
{
// x[k] = x[k] / rho[j-1]
HERE
// THIS FAILS with SPEX_PANIC: rhos[j] is zero,
// then SPEX segfaults
fprintf (stderr, "------ exact divide by rhos[j]: j = %" PRId64" of n %" PRId64 "\n", j, n) ;
SPEX_MPZ_DIVEXACT(x->x.mpz[k],x->x.mpz[k],
rhos->x.mpz[j-1]);
HERE
Expand Down

0 comments on commit 1ed91eb

Please sign in to comment.