Revision 1946 trunk/src/linad99/fvar_fn.cpp

fvar_fn.cpp (revision 1946)
32 32
 */
33 33
prevariable& pow(const prevariable& v1, const double u)
34 34
    {
35
      #ifdef SAFE_ARRAYS
35
#ifndef OPT_LIB
36 36
        if (v1.v->x == 0)
37 37
        {
38 38
          cerr << "Error -- base = 0 in function"
39 39
            " prevariable& pow(const prevariable& v1, const double u)" << endl;
40 40
        }
41
      #endif
41
#endif
42 42
      if (++gradient_structure::RETURN_PTR > gradient_structure::MAX_RETURN)
43 43
        gradient_structure::RETURN_PTR = gradient_structure::MIN_RETURN;
44 44
      double x,y;

Also available in: Unified diff