Quick bug fix
This commit is contained in:
parent
ce2e3d17f4
commit
c291ec65b4
1 changed files with 5 additions and 2 deletions
|
@ -225,8 +225,11 @@ module elements
|
|||
|
||||
exists = .false.
|
||||
do i=1, 10
|
||||
if(type == type_to_name(i)) exists = .true.
|
||||
if(type == type_to_name(i)) then
|
||||
exists = .true.
|
||||
inttype = i
|
||||
exit
|
||||
end if
|
||||
end do
|
||||
|
||||
if (exists.eqv..false.) then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue