avoid uninitialized array

This commit is contained in:
Martin Diehl 2019-06-29 10:26:29 -07:00
parent bf8ac403f1
commit a04be84719
1 changed files with 17 additions and 16 deletions

View File

@ -338,6 +338,7 @@ subroutine plastic_dislotwin_init
prm%r = math_expand(prm%r,prm%N_tw)
else
allocate(prm%gamma_char(0))
allocate(prm%t_tw (0))
allocate(prm%b_tw (0))
allocate(prm%r (0))