avoid uninitialized array
This commit is contained in:
parent
bf8ac403f1
commit
a04be84719
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue