mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 22:25:48 -04:00
HvD: Gfortran seemed to have trouble understanding the logical
expressions involving character strings. I have introduced some brackets to make the meaning explicit which seems to have fixed the problem.
This commit is contained in:
parent
6bcdd810d9
commit
434a43dd4a
1 changed files with 4 additions and 4 deletions
|
|
@ -84,15 +84,15 @@ c ATOM
|
|||
c
|
||||
if(card(1:4).eq.'ATOM') then
|
||||
if(card(18:20).eq.namslv) lslvnt=.true.
|
||||
if(card(17:17).ne.' '.and.
|
||||
+ card(17:17).ne.altloc.and.altloc.ne.'*') goto 1
|
||||
if((card(17:17).ne.' ').and.
|
||||
+ (card(17:17).ne.altloc).and.(altloc.ne.'*')) goto 1
|
||||
if(.not.lslvnt) natm=natm+1
|
||||
if(lrgmrg) then
|
||||
read(card(22:26),1003) i
|
||||
1003 format(i5)
|
||||
else
|
||||
if(card(22:22).ne.' '.and.
|
||||
+ card(22:22).ne.chain.and.chain.ne.'*') goto 1
|
||||
if((card(22:22).ne.' ').and.
|
||||
+ (card(22:22).ne.chain).and.(chain.ne.'*')) goto 1
|
||||
read(card(23:26),1013) i
|
||||
1013 format(i4)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue