projects
/
unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
homology from okeanos
[unres.git]
/
source
/
unres
/
src_CSA_DiL
/
rescode.f
diff --git
a/source/unres/src_CSA_DiL/rescode.f
b/source/unres/src_CSA_DiL/rescode.f
index
2973ef9
..
12abbbe
100644
(file)
--- a/
source/unres/src_CSA_DiL/rescode.f
+++ b/
source/unres/src_CSA_DiL/rescode.f
@@
-7,7
+7,8
@@
if (itype.eq.0) then
if (itype.eq.0) then
- do i=1,ntyp1
+ do i=-ntyp1,ntyp1
+cc write(iout,*),i,ucase(nam),restyp(i)
if (ucase(nam).eq.restyp(i)) then
rescode=i
return
if (ucase(nam).eq.restyp(i)) then
rescode=i
return
@@
-16,7
+17,7
@@
else
else
- do i=1,ntyp1
+ do i=-ntyp1,ntyp1
if (nam(1:1).eq.onelet(i)) then
rescode=i
return
if (nam(1:1).eq.onelet(i)) then
rescode=i
return