Skip to content

Commit be859c5

Browse files
committed
returning an accidental deletion from conflict resolution
1 parent 9bcf5e2 commit be859c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/simulation/m_hyperelastic.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ contains
126126

127127
if (G > verysmall) then
128128
!$acc loop seq
129-
do i = 1, tensor_size
130-
tensora(i) = 0._wp
129+
do i = 1, tensor_size - 1
130+
tensora(i) = tensorb(i)/tensorb(tensor_size)
131131
end do
132132

133133
! STEP 1: computing the grad_xi tensor using finite differences

0 commit comments

Comments
 (0)