Debian Codegraph @

debian/patches/13_mol.h.patch

raw symbols SCIP
1 From: Morten Kjeldgaard <[email protected]>
2 Subject: modification to source code
3
4
5 --- a/src/Mol.h
6 +++ b/src/Mol.h
7 @@ -165,22 +165,22 @@
8 void Transform(const Point3f &ax,const Point3f &ay,const Point3f &az);
9
10 void ScaleTransl(float scale){
11 - for (int i=0; i<atom.size(); i++)
12 + for (int i=0; i < (int)atom.size(); i++)
13 atom[i].ScaleTransl( -tx0, -ty0, scale);
14 }
15
16 void SmoothTexture(vector<Byte> &t, int siz){
17 - for (int i=0; i<atom.size(); i++)
18 + for (int i=0; i < (int)atom.size(); i++)
19 atom[i].SmoothTexture(t,siz);
20 }
21
22 void SmoothTexture(vector<int> &t, int siz){
23 - for (int i=0; i<atom.size(); i++)
24 + for (int i=0; i < (int)atom.size(); i++)
25 atom[i].SmoothTexture(t,siz);
26 }
27
28 void Zero() {
29 - for (int i=0; i<atom.size(); i++)
30 + for (int i=0; i < (int)atom.size(); i++)
31 atom[i].s.Zero();
32 }
33
34 @@ -217,7 +217,7 @@
35 bool DecentAO(); // true if AO (being computed) is "decent"
36
37 // for testing purposes
38 - bool PrepareAOSingleView();
39 + void PrepareAOSingleView();
40
41 int natm, nhetatm; // number of atoms of type hetatm and not ...
42