Changeset 1698


Ignore:
Timestamp:
Jun 2, 2010 12:34:43 PM (10 years ago)
Author:
bradbell
Message:

trunk: Fix missing CheckSimpleVector? definitions when NDEBUG is defined.
rev_sparse_hes.hpp: Fix warnng when NDEBUG is defined.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/cppad/check_simple_vector.hpp

    r1556 r1698  
    44
    55/* --------------------------------------------------------------------------
    6 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     6CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    77
    88CppAD is distributed under multiple licenses. This distribution is under
     
    103103# ifdef NDEBUG
    104104        template <class Scalar, class Vector>
     105        inline void CheckSimpleVector(const Scalar& x, const Scalar& y)
     106        { }
     107        template <class Scalar, class Vector>
    105108        inline void CheckSimpleVector(void)
    106109        { }
  • trunk/cppad/local/rev_sparse_hes.hpp

    r1556 r1698  
    44
    55/* --------------------------------------------------------------------------
    6 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     6CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-10 Bradley M. Bell
    77
    88CppAD is distributed under multiple licenses. This distribution is under
     
    406406
    407407        // range and domain dimensions for F
     408# ifndef NDEBUG
    408409        size_t m = dep_taddr.size();
     410# endif
    409411        size_t n = ind_taddr.size();
    410412
  • trunk/omh/whats_new_10.omh

    r1697 r1698  
    1313$begin whats_new_10$$
    1414$spell
     15        const
    1516        Linpack
    1617        Blas
     
    4445assist you in learning about changes between various versions of CppAD.
    4546
     47$head 06-01$$
     48In the case where the preprocessor symbol $code NDEBUG$$ was defined
     49(see $cref/speed/Faq/Speed/$$),
     50the function
     51$codei%
     52        CheckSimpleVector(const %Scalar%& %x%, const %Scalar%& %y%)
     53%$$
     54was not defined; see
     55$href%http://list.coin-or.org/pipermail/cppad/2010q2/000166.html%bug report%$$.
     56This has been fixed.
     57
    4658$head 04-28$$
    4759Change the multi-level taping examples
Note: See TracChangeset for help on using the changeset viewer.