Revision 1935 trunk/src/nh99/modspmin.cpp

modspmin.cpp (revision 1935)
5 5
 * Copyright (c) 2008-2012 Regents of the University of California
6 6
 */
7 7
#include <admodel.h>
8
#if defined(USE_LAPLACE)
9 8
#  include <df1b2fun.h>
10 9
#  include <adrndeff.h>
11
#endif
12 10

  
13 11
//#define NO_MCMC
14 12
#if ( (defined(_WINDOWS) || defined(_Windows)) && !defined(BORBUGS))
......
62 60

  
63 61
    final_calcs();
64 62
    // clean up if have random effects
65
#   if defined(USE_LAPLACE)
66 63
     // cleanup_laplace_stuff(lapprox);
67
#   endif
68 64
  }
69 65

  
70 66
  void function_minimizer::computations1(int argc,char * argv[])
......
185 181
      {
186 182
        if (!quit_flag)
187 183
        {
188
#       if defined(USE_LAPLACE)
189 184
          // save the sparse Hessian for the random effects
190 185
          if (lapprox && lapprox->sparse_hessian_flag)
191 186
          {
......
198 193
                  << dct.get_coords() << dct.get_x();
199 194
            }
200 195
          }
201
#endif     //  if defined(USE_LAPLACE)
202 196

  
203 197
          int on=-1;
204 198
          int on1=-1;

Also available in: Unified diff