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

df1b2lap.cpp (revision 1258)
1244 1244
 * Description not yet available.
1245 1245
 * \param
1246 1246
 */
1247
dvector laplace_approximation_calculator::operator () (const dvector& _x,
1248
  const double& _f, function_minimizer * pfmin)
1247
dvector laplace_approximation_calculator::operator()
1248
  (const dvector& _x, const double& _f, function_minimizer * pfmin)
1249 1249
{
1250
# if defined(USE_ADPVM)
1251

  
1250
#if defined(USE_ADPVM)
1252 1251
  if (pfmin->test_trust_flag)
1253 1252
  {
1254 1253
    return test_trust_region_method(_x,_f,pfmin);
......
1274 1273
  }
1275 1274
  else
1276 1275
#endif  //# if defined(USE_ADPVM)
1276

  
1277 1277
  {
1278 1278
    //hesstype=1;
1279 1279
    //cout << hesstype << endl;
......
1284 1284
        int check_der_flag=0;
1285 1285
        int on=-1;
1286 1286
        int nopt=0;
1287
        if ( (on=option_match(ad_comm::argc,ad_comm::argv,"-chkder",nopt))>-1)
1287
        if ((on=option_match(ad_comm::argc,ad_comm::argv,"-chkder",nopt))>-1)
1288 1288
        {
1289
           check_der_flag=1;
1289
          check_der_flag=1;
1290 1290
        }
1291 1291
        if (check_der_flag==1)
1292 1292
        {
......
1327 1327
  }
1328 1328
}
1329 1329

  
1330
void   random_effects_userfunction(double f,const dvector& x,
1331
  const dvector& g);
1330
void random_effects_userfunction(double f,const dvector& x, const dvector& g);
1332 1331

  
1333 1332
/**
1334 1333
 * Description not yet available.

Also available in: Unified diff