Skip to content

Commit

Permalink
Merge pull request #213 from DrTimothyAldenDavis/dev
Browse files Browse the repository at this point in the history
revert umf_kernel_init to v6.0.1
  • Loading branch information
DrTimothyAldenDavis authored Dec 12, 2022
2 parents bb08797 + 5833b69 commit 25fc8e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions UMFPACK/Source/umf_kernel_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,16 +514,16 @@ GLOBAL Int UMF_kernel_init
/* allocate O (n_row) workspace at the tail end of Memory */
/* ---------------------------------------------------------------------- */

rpi = UMF_mem_alloc_tail_block (Numeric, UNITS (Int *, n_row+1)) ;
rpx = UMF_mem_alloc_tail_block (Numeric, UNITS (Entry *, n_row+1)) ;
rpi = UMF_mem_alloc_tail_block (Numeric, UNITS (Int *, n_row+1)) ;
if (!rpi || !rpx)
{
/* :: pattern change (out of memory for Rpi, Rpx) :: */
/* :: pattern change (out of memory for Rpx, Rpx) :: */
/* out of memory, which can only mean that the pattern has changed */
return (FALSE) ; /* pattern changed */
}
Rpi = (Int **) (Memory + rpi) ;
Rpx = (Entry **) (Memory + rpx) ;
Rpi = (Int **) (Memory + rpx) ;
Rpx = (Entry **) (Memory + rpi) ;

/* ---------------------------------------------------------------------- */
/* allocate the LU factors for the columns of the singletons */
Expand Down

0 comments on commit 25fc8e8

Please sign in to comment.