projects
/
unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UNRES caly zmienione 21 na ntyp1
[unres.git]
/
source
/
cluster
/
wham
/
src-M
/
rescode.f
diff --git
a/source/cluster/wham/src-M/rescode.f
b/source/cluster/wham/src-M/rescode.f
index
ca0305c
..
fb68350
100644
(file)
--- a/
source/cluster/wham/src-M/rescode.f
+++ b/
source/cluster/wham/src-M/rescode.f
@@
-6,7
+6,7
@@
if (itype.eq.0) then
if (itype.eq.0) then
- do i=1,ntyp1
+ do i=-ntyp1,ntyp1
if (ucase(nam).eq.restyp(i)) then
rescode=i
return
if (ucase(nam).eq.restyp(i)) then
rescode=i
return
@@
-15,7
+15,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