Changeset 2570


Ignore:
Timestamp:
Nov 14, 2012 1:25:24 PM (7 years ago)
Author:
bradbell
Message:
  1. Advance CppAD version number to 20121114.
  2. Fix error in the NDEBUG case.
Location:
trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/AUTHORS

    r2554 r2570  
    22             ===========================================
    33
    4 To date, 2012-11-09, Bradley M. Bell is the sole author of CppAD.
     4To date, 2012-11-14, Bradley M. Bell is the sole author of CppAD.
    55While Bradley M. Bell worked for the University of Washington during
    66the development of CppAD, the following are also true:
  • trunk/CMakeLists.txt

    r2568 r2570  
    8888
    8989# cppad_version is used by set_version.sh to get the version number.
    90 SET(cppad_version      "20121109" )
     90SET(cppad_version      "20121114" )
    9191SET(cppad_url          "http://www.coin-or.org/CppAD" )
    9292SET(cppad_description  "Differentiation of C++ Algorithms" )
  • trunk/configure

    r2558 r2570  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68 for cppad 20121109.
     3# Generated by GNU Autoconf 2.68 for cppad 20121114.
    44#
    55# Report bugs to <cppad@list.coin-or.org>.
     
    561561PACKAGE_NAME='cppad'
    562562PACKAGE_TARNAME='cppad'
    563 PACKAGE_VERSION='20121109'
    564 PACKAGE_STRING='cppad 20121109'
     563PACKAGE_VERSION='20121114'
     564PACKAGE_STRING='cppad 20121114'
    565565PACKAGE_BUGREPORT='cppad@list.coin-or.org'
    566566PACKAGE_URL=''
     
    13591359  # This message is too long to be a string in the A/UX 3.1 sh.
    13601360  cat <<_ACEOF
    1361 \`configure' configures cppad 20121109 to adapt to many kinds of systems.
     1361\`configure' configures cppad 20121114 to adapt to many kinds of systems.
    13621362
    13631363Usage: $0 [OPTION]... [VAR=VALUE]...
     
    14251425if test -n "$ac_init_help"; then
    14261426  case $ac_init_help in
    1427      short | recursive ) echo "Configuration of cppad 20121109:";;
     1427     short | recursive ) echo "Configuration of cppad 20121114:";;
    14281428   esac
    14291429  cat <<\_ACEOF
     
    15511551if $ac_init_version; then
    15521552  cat <<\_ACEOF
    1553 cppad configure 20121109
     1553cppad configure 20121114
    15541554generated by GNU Autoconf 2.68
    15551555
     
    21752175running configure, to aid debugging if configure makes a mistake.
    21762176
    2177 It was created by cppad $as_me 20121109, which was
     2177It was created by cppad $as_me 20121114, which was
    21782178generated by GNU Autoconf 2.68.  Invocation command line was
    21792179
     
    49804980# Define the identity of the package.
    49814981 PACKAGE='cppad'
    4982  VERSION='20121109'
     4982 VERSION='20121114'
    49834983
    49844984
     
    80038003# values after options handling.
    80048004ac_log="
    8005 This file was extended by cppad $as_me 20121109, which was
     8005This file was extended by cppad $as_me 20121114, which was
    80068006generated by GNU Autoconf 2.68.  Invocation command line was
    80078007
     
    80608060ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    80618061ac_cs_version="\\
    8062 cppad config.status 20121109
     8062cppad config.status 20121114
    80638063configured by $0, generated by GNU Autoconf 2.68,
    80648064  with options \\"\$ac_cs_config\\"
  • trunk/configure.ac

    r2558 r2570  
    1313dnl Process this file with autoconf to produce a configure script.
    1414dnl   package   version              bug-report
    15 AC_INIT(cppad, 20121109, cppad@list.coin-or.org)
     15AC_INIT(cppad, 20121114, cppad@list.coin-or.org)
    1616
    1717dnl By defalut disable maintainer mode when running configure;
  • trunk/cppad/configure.hpp

    r2554 r2570  
    4343cppad-yyyymmdd as a C string where yyyy is year, mm is month, and dd is day.
    4444*/
    45 # define CPPAD_PACKAGE_STRING "cppad-20121109"
     45# define CPPAD_PACKAGE_STRING "cppad-20121114"
    4646 
    4747 /*!
  • trunk/doc.omh

    r2567 r2570  
    5050
    5151$section
    52 cppad-20121109: A Package for Differentiation of C++ Algorithms
     52cppad-20121114: A Package for Differentiation of C++ Algorithms
    5353$$
    5454
  • trunk/example/compare_change.cpp

    r2506 r2570  
    4949bool CompareChange(void)
    5050{       bool ok = true;
     51// f.CompareChange not defined when NDEBUG is true
     52# ifndef NDEBUG
     53
    5154        using CppAD::AD;
    5255        using CppAD::ADFun;
     
    104107        ok  &= (f.CompareChange() == 0);
    105108
     109# endif
    106110        return ok;
    107111}
  • trunk/omh/install/unix.omh

    r2567 r2570  
    8686The install instructions below correspond to the
    8787$cref/current version/download/Compressed Tar File/Current Version/$$
    88 which has distribution directory $code cppad-20121109$$.
     88which has distribution directory $code cppad-20121114$$.
    8989
    9090$head Work Directory$$
    91 Create the directory $code cppad-20121109/work$$,
     91Create the directory $code cppad-20121114/work$$,
    9292which will be referred to as the work directory below.
    9393
     
    247247is specified, the CppAD documentation files will be installed in the directory
    248248$codei%
    249         /usr/local/share/doc/cppad-20121109
     249        /usr/local/share/doc/cppad-20121114
    250250%$$
    251251
     
    256256the CppAD documentation HTML and XML files are copied to the directory
    257257$codei%
    258         %prefix_dir%/share/doc/%postfix_dir%/cppad-20121109
     258        %prefix_dir%/share/doc/%postfix_dir%/cppad-20121114
    259259%$$
    260260(see $cref/postfix_dir/InstallUnix/postfix_dir/$$).
     
    262262(with mathematics displayed as LaTex command) will be located at
    263263$codei%
    264         %prefix_dir%/share/doc/%postfix_dir%/cppad-20121109/cppad.htm
     264        %prefix_dir%/share/doc/%postfix_dir%/cppad-20121114/cppad.htm
    265265%$$
    266266and the top of the XML documentation tree
    267267(with mathematics displayed as MathML) will be located at
    268268$codei%
    269         %prefix_dir%/share/doc/%postfix_dir%/cppad-20121109/cppad.xml
     269        %prefix_dir%/share/doc/%postfix_dir%/cppad-20121114/cppad.xml
    270270%$$
    271271
     
    369369is specified, the CppAD documentation files will be installed in the directory
    370370$codei%
    371         /usr/local/share/doc/coin/cppad-20121109
     371        /usr/local/share/doc/coin/cppad-20121114
    372372%$$
    373373
  • trunk/omh/whats_new_12.omh

    r2568 r2570  
    6868
    6969$head 11-14$$
     70Advanced the CppAD version to $code cppad-20121114$$.
     71
     72$list number$$
    7073Started documenting the
    7174$cref cmake$$ configuration procedure during installation.
     
    7477so that the same download instruction also apply to the
    7578$cref/unix/InstallUnix/$$ install procedure.
     79
     80$lnext
     81Changed
     82$cref%example/compare_change.cpp%compare_change.cpp%$$
     83to just return true when $code NDEBUG$$ is defined.
     84This enabled all the tests in the
     85$code example$$ directory to be compiled
     86with $code NDEBUG$$ is defined and to pass.
     87
     88$lnext
     89In the case where $code NDEBUG$$ is defined,
     90removed detection of $code nan$$ during forward mode from
     91$code test_more/forward.cpp%$$.
     92This enables all the tests in the
     93$code test_more$$ directory to be compiled
     94with $code NDEBUG$$ is defined and to pass.
     95
     96$lnext
     97Started a wish list for
     98CppAD's use of $cref/cmake/WishList/CMake/$$.
     99
     100$lend
     101
    76102
    77103$head 11-09$$
  • trunk/omh/wish_list.omh

    r2506 r2570  
    1212$begin WishList$$
    1313$spell
     14        cmake
    1415        Berger
    1516        namespace
     
    5455current $code BenderQuad$$ specifications.
    5556
     57$head CMake$$
     58$list number$$
     59Finish documenting all the $cref cmake$$ command line arguments.
     60$lnext
     61Check (during $code cmake$$ command)
     62that $code cppad_test_vector_namespace$$ is a valid choice.
     63$lnext
     64Include the $cref compare_c$$ test.
     65$lend
     66
     67
    5668$head CondExp$$
    5769$index CondExp$$
  • trunk/test_more/compare_change.cpp

    r2506 r2570  
    1919bool CompareChange(void)
    2020{       bool ok = true;
     21# ifndef NDEBUG
    2122
    2223        using namespace CppAD;
     
    286287        delete f;
    287288
     289# endif
    288290        return ok;
    289291}
  • trunk/test_more/forward.cpp

    r2506 r2570  
    235235        ok &= ForwardCases< std::valarray  <double> >();
    236236        ok &= ForwardOlder();
     237# ifndef NDEBUG
     238        // CppAD does not check for nan when NDEBUG is defined
    237239        ok &= forward_nan();
    238         return ok;
    239 }
     240# endif
     241        return ok;
     242}
Note: See TracChangeset for help on using the changeset viewer.