ADMB Documentation  11.1.2503
 All Classes Files Functions Variables Typedefs Friends Defines
model8.cpp
Go to the documentation of this file.
00001 /*
00002  * $Id: model8.cpp 1942 2014-04-28 22:22:45Z johnoel $
00003  *
00004  * Author: David Fournier
00005  * Copyright (c) 2008-2012 Regents of the University of California
00006  */
00007   #include <admodel.h>
00008 
00009   objective_function_value * objective_function_value::pobjfun=NULL;
00010   double objective_function_value::gmax=0;
00011 
00012   objective_function_value::objective_function_value() {pobjfun=this;}
00013   objective_function_value& objective_function_value::operator =
00014     (const prevariable& v)
00015   {
00016     prevariable::operator = (v);
00017     return *this;
00018   }
00019 objective_function_value& objective_function_value::operator=(const double v)
00020   {
00021     prevariable::operator = (v);
00022     return *this;
00023   }