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 69f79a2 commit 45eff02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions SPEX/SPEX_Cholesky/Source/spex_cholesky_factor.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@

# define SPEX_FREE_ALL \
{ \
HERE ; \
SPEX_factorization_free(&F, option); \
HERE ; \
}


Expand Down
4 changes: 3 additions & 1 deletion SPEX/SPEX_Utilities/Source/spex_util_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,12 @@
info = (method); \
if (info != SPEX_OK) \
{ \
printf("file %s line %d\n",__FILE__,__LINE__);\
fprintf(stderr, "NOT OK: file %s line %d\n",__FILE__,__LINE__);\
fflush (stdout) ; \
fflush (stderr) ; \
HERE ; \
SPEX_FREE_ALL; \
HERE ; \
return (info); \
} \
}
Expand Down

0 comments on commit 45eff02

Please sign in to comment.