Skip to content

Commit

Permalink
Initialize LU to zero, probably not needed.
Browse files Browse the repository at this point in the history
modified:   Solvers_Mod/Dense/Lu_Factorization_Gauss.f90
  • Loading branch information
Niceno committed Feb 18, 2024
1 parent 520705d commit a0b38e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Solvers_Mod/Dense/Lu_Factorization_Gauss.f90
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ subroutine Solvers_Mod_Dense_Lu_Factorization_Gauss(LU, A)
LU % text_u ="L"
LU % text_l ="U"


!----------------------------------------------------------------------!
! Initialize the values by copying the original matrix to LU first !
!----------------------------------------------------------------------!
LU % val(:,:) = 0.0
do i = 1, n ! <-A
do j = 1, n
LU % val(i,j) = A % val(i,j)
Expand Down

0 comments on commit a0b38e2

Please sign in to comment.