Revision 1975 trunk/src/linad99/dvector.cpp

dvector.cpp (revision 1975)
8 8
 * \file
9 9
 * Description not yet available.
10 10
 */
11
#include "fvar.hpp"
11
#include <iostream>
12
using std::cout;
13
using std::cerr;
14
using std::endl;
15
#include "dvector.h"
16
#include "ad_exit.h"
17
#include "independent_variables.h"
18
#include "dvar_vector.h"
19
#include "dvar_vector_position.h"
12 20

  
13
long int farptr_tolong(void *);
14

  
15 21
#ifdef DOSX286
16 22
  int heapcheck(void){return 0;}
17 23
#else
......
23 29
#include <memory.h>
24 30
#endif
25 31

  
32
#include <cstring>
33

  
26 34
/** Average of two numbers; constant objects.
27 35
\ingroup misc
28 36
\param x A double
......
141 149
  */
142 150
dvector::dvector(const dvector& t)
143 151
 {
144
   #ifdef DIAG
145
    // cout << "starting out in dvector contructor\n";
146
   #endif
147 152
   shape=t.shape;
148 153
   if (shape)
149 154
   {

Also available in: Unified diff