Revision 1263 trunk/src/linad99/cmpdif4.cpp

cmpdif4.cpp (revision 1263)
147 147
  dvector temp_vec(tmp.indexmin(),tmp.indexmax());
148 148
  for (int i=tmp.indexmax();i>=tmp.indexmin();i--)
149 149
  {
150
    double ttmp;
150
    double ttmp = 0.0;
151 151
    gradient_structure::get_fp()->fread(ttmp);
152 152
    temp_vec(i)=ttmp;
153 153
  }
......
166 166
  ivector temp_vec(tmp.indexmin(),tmp.indexmax());
167 167
  for (int i=tmp.indexmax();i>=tmp.indexmin();i--)
168 168
  {
169
    int tmp;
169
    int tmp = 0;
170 170
    gradient_structure::get_fp()->fread(&tmp,sizeof(int));
171 171
    temp_vec(i)=tmp;
172 172
  }
......
187 187
  dvector temp_vec(tmp.indexmin(),tmp.indexmax());
188 188
  for (int i=tmp.indexmax();i>=tmp.indexmin();i--)
189 189
  {
190
    double ttmp;
190
    double ttmp = 0.0;
191 191
    //gradient_structure::get_fp()->fread(&ttmp,sizeof(double));
192 192
    gradient_structure::get_fp()->fread(ttmp);
193 193
    temp_vec(i)=ttmp;

Also available in: Unified diff