Revision 1258 trunk/src/df1b2-separable/df1b2lp10.cpp

df1b2lp10.cpp (revision 1258)
25 25

  
26 26
  ofs << "Total num_separable calls " <<  callset(0,0)-1 << endl;
27 27

  
28
  int i;
29
  for (i=1;i<=callset.indexmax();i++)
28
  for (int i=1;i<=callset.indexmax();i++)
30 29
  {
31 30
    ofs << "Variable " << i << " num calls = " << callset(i)(0) << endl;
32 31
    ofs << callset(i)(1,callset(i).indexmax())<< endl;
......
103 102
void laplace_approximation_calculator::
104 103
  check_hessian_type2(function_minimizer * pfmin)
105 104
{
106
  //int i,j,ip;
107
  int i,ip;
105
  int ip = 0;
108 106
  if (quadratic_prior::get_num_quadratic_prior()>0)
109 107
  {
110 108
    hesstype=4;
......
174 172
      quadratic_prior::in_qp_calculations=0;
175 173

  
176 174
      int non_block_diagonal=0;
177
      for (i=xsize+1;i<=xsize+usize;i++)
175
      for (int i=xsize+1;i<=xsize+usize;i++)
178 176
      {
179 177
        if (used_flags(i)>1)
180 178
        {

Also available in: Unified diff