Debian Codegraph @

debian/patches/04_ao.h.patch

raw symbols SCIP
1 Fromscip-debian debian qutemol 0.4.1~cvs20081111-15 qutemol/patches/`04_ao.h.patch`#From.: Morten Kjeldgaard <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Subjectscip-debian debian qutemol 0.4.1~cvs20081111-15 qutemol/patches/`04_ao.h.patch`#Subject.: modification to source code
3
4
5 --- a/src/AO.hscip-debian debian qutemol 0.4.1~cvs20081111-15 qutemol/upstream/`src/AO.h`:
6 +++ b/src/AO.hscip-debian debian qutemol 0.4.1~cvs20081111-15 qutemol/upstream/`src/AO.h`:
7 @@ -12,7 +12,7 @@
8 inline int index(int x, int y){
9 int res=x+bufx*y;
10 if (res<0) res=0;
11 - if (res>=buf.size()) res=buf.size()-1;
12 + if (res >= (int)buf.size()) res=buf.size()-1;
13 return res;
14 //return x+bufx*y;
15 }