Statistics
| Revision:

root / branches / threaded2 / src / nh99 / model8.cpp @ 752

History | View | Annotate | Download (666 Bytes)

1
/*
2
 * $Id: model8.cpp 752 2013-02-14 21:09:59Z johnoel $
3
 *
4
 * Author: David Fournier
5
 * Copyright (c) 2008-2012 Regents of the University of California 
6
 */
7
#include <admodel.h>
8

    
9
__thread objective_function_value* objective_function_value::pobjfun = nullptr;
10
__thread double objective_function_value::gmax = 0;
11
__thread double objective_function_value::fun_without_pen = 0;
12
objective_function_value::objective_function_value() 
13
{ 
14
  pobjfun = this; 
15
}
16
objective_function_value& objective_function_value::operator=(const prevariable& v)
17
{
18
  prevariable::operator=(v);
19
  return *this;
20
}
21
objective_function_value& objective_function_value::operator=(CGNU_DOUBLE v)
22
{
23
  prevariable::operator=(v);
24
  return *this;
25
}