Changeset 3666 for trunk/test_more


Ignore:
Timestamp:
Feb 28, 2015 11:54:17 AM (5 years ago)
Author:
bradbell
Message:

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: f81667ec9c0e3a005cf868c042f5d225b49b8a0c
end hash code: 9d68051c35a88aaabc1532f00e74e38eb6befff0

commit 9d68051c35a88aaabc1532f00e74e38eb6befff0
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 09:34:47 2015 -0700

Squashed commit of merge from local cond_exp_rev branch to master.
This implemented the feature change (bug fix) in whats new on 2015-02-28.


commit 7c67a66cf3576c7b4d7917efd7b77a0351ba41b8
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 08:47:14 2015 -0700


Remove trailing white space.


commit 35ff6eed1be671077704f2e705001f6e9f11997f
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 08:45:09 2015 -0700


cond_exp.cpp: change example to match new reverse mode feature.
whats_new_15.omh: user description of change in reverse mode.
cond_exp.cpp: check test to match new reverse mode feature .


commit 4fac1b7e3bd5fd8d6a27812cdb1cef0c975d9a5b
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 07:35:04 2015 -0700


Stop nan from propagating through unused option in reverse erf operator.
reverse_sweep.hpp: some white space edits.
tanh_op.hpp: remove trailing white space.
cond_exp_rev.cpp: note difference between pow and erf.


commit fb1ace29478101e98e1cef4da5cfbf8b485de73b
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 07:22:17 2015 -0700


Stop nan from propagating through unused option in reverse tanh operator.
tanh_op.hpp: remove trailing white space.


commit d03663ac2cd5f7d1fc21d2fefa9b9b3a2790c171
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 07:20:01 2015 -0700


Stop nan from propagating through unused option in reverse tan operator.


commit 079c4f75f447c3cb223ff82893fc86a754d2f982
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 07:17:14 2015 -0700


sqrt_op.hpp: remove trailing white space.
cond_exp_rev.cpp: check that subtraction does not need action.


commit b2b55bf409173d07085b675cc2bda0808bf63210
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 07:13:04 2015 -0700


Stop nan from propagating through unused option in reverse sqrt operator.
sinh_op.hpp: remove trailing white space.


commit c83231ce59f0d77cfc2f058a8e9ba785a2216e09
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 07:09:18 2015 -0700


Stop nan from propagating through unused option in reverse sinh operator.
sinh_op.hpp: remove trailing white space.


commit 596f7ebe6e014bf0c19c6b3b517cf020a972a943
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 07:06:57 2015 -0700


Stop nan from propagating through unused option in reverse sin operator.


commit 9e161155b55c299c5f9ab1fdb06e332d4cdd6bc4
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 07:04:11 2015 -0700


cond_exp_rev.cpp: test some more operations that need no further action.


commit 394d552933c8033fda66f1e9977e558506cba90f
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 06:55:37 2015 -0700


Stop nan from propagating through unused option in reverse mulvv operator.
log_op.hpp: remove trailing white space.


commit 6ed9754950e49df4246c0937d763686e07f0a14c
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 06:48:08 2015 -0700


Stop nan from propagating through unused option in reverse log operator.


commit 43791ad41011aa56865135418f1620c6ea5a00c6
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 06:41:31 2015 -0700


exp_op.hpp: remove traling white space.
cond_exp_rev.cpp: check reverse divvp operator doesn't propagate nans.


commit f2ba8c592073c0318367440fe22f491945f7af8a
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 06:35:42 2015 -0700


Stop nan from propagating through unused option in reverse exp operator.


commit 5a0ee67c3869465bdd39cddbe26c966fc09f8113
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 06:30:25 2015 -0700


cond_exp_rev.cpp: white space edit and skip some cases for now.


commit 5cb70435dfb14e7f67728003395f68f6f6201798
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 06:15:32 2015 -0700


Stop nan from propagating through unused option in reverse divpv operator.


commit dcd072898764ffac2434950c77037475788ffe79
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 06:11:01 2015 -0700


Stop nan from propagating through unused option in reverse divvv operator.
cosh_op.hpp: remove trailing white space.


commit eb43bfc9e9f0fc3bb28c6f6d686473ac6d1114c7
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 06:07:06 2015 -0700


Stop nan from propagating through unused option in reverse cosh operator.
cos_op.hpp: remove trailing white space.


commit 21a1adb8b3acad7cccf470a62248aeb28de34be3
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 06:03:23 2015 -0700


Stop nan from propagating through unused option in reverse cos operator.
atan_op.hpp: remove trailing white space.


commit 8b7f2ddaaad129bdabdf2df213f3f3161d25d073
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 05:57:17 2015 -0700


Stop nan from propagating through unused option in reverse atan operator.
asin_op.hpp: remove trailing white space.


commit b23cc3a860f6a5818f544fc2b601ccad3900b709
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 05:52:53 2015 -0700


Stop nan from propagating through unused option in reverse asin operator.
acos_op.hpp: fix spelling in comment.


commit 07b5395ba34def704deb56bbc834dfba5e616014
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 05:49:15 2015 -0700


acos_op.hpp: remove traliing white space.
cond_exp_rev.cpp: check add operators.


commit 7391e9b74f8350d5a210a21cd0fe16577a16824a
Author: Brad Bell <bradbell@…>
Date: Sat Feb 28 05:42:50 2015 -0700


Stop nan from propagating through unused option in reverse acos operator.

commit 9619d407996da03fd287cd24fa9f8604bcd92ef5
Author: Brad Bell <bradbell@…>
Date: Fri Feb 27 22:14:32 2015 -0700

Remove trailing white space.

commit 70a04a4c19a02624f5defb7ec0ce213d58d6e0cd
Author: Brad Bell <bradbell@…>
Date: Fri Feb 27 22:13:33 2015 -0700

Add a test for reverse mode of conditional expressions.
This will test that nans and infinities do not propagate though the
conditional case that is not used.


reverse_sweep.hpp: Fix alphabetical order of operators.

commit 957bc6090d454642d72b7d47d591a6f9f6b74f82
Author: Brad Bell <bradbell@…>
Date: Fri Feb 27 06:34:49 2015 -0700

template.sh: remove trailing white space.

commit f3c75db95aa06ab0e0f48872ed3e6518e61f3dec
Author: Brad Bell <bradbell@…>
Date: Fri Feb 27 06:23:24 2015 -0700

Split cond_exp.sh into cond_exp_1.sh, cond_exp_2.sh because they have very
different causes.


template.sh: imporve message at end.

commit bee51f2cf231a714f7736b09f39bc5e366d04e2c
Author: Brad Bell <bradbell@…>
Date: Wed Feb 25 22:58:05 2015 -0700

cond_exp.sh: Better names for AD variables.

commit 82229bcfc244540a9bb5e679296c0b9e5846871e
Author: Brad Bell <bradbell@…>
Date: Wed Feb 25 22:02:18 2015 -0700

push_git2svn.py: remove trailing white space.

commit 69c85cf7842b344b046ed5325897b2748485358e
Author: Brad Bell <bradbell@…>
Date: Wed Feb 25 22:01:06 2015 -0700

push_git2svn.py: Handle trailing white space deleted and directory created.

Location:
trunk/test_more
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/CMakeLists.txt

    r3519 r3666  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
    6 # the terms of the 
     6# the terms of the
    77#                     Eclipse Public License Version 1.0.
    88#
     
    1010# Please visit http://www.coin-or.org/CppAD/ for information on other licenses.
    1111# -----------------------------------------------------------------------------
    12 # Build the test_more directory tests 
     12# Build the test_more directory tests
    1313# Inherit environment from ../CMakeList.txt
    1414
    15 # Specifies build type for this directory. Possible values are 
     15# Specifies build type for this directory. Possible values are
    1616# empty, Debug, Release, RelWithDebInfo and MinSizeRel
    1717SET(CMAKE_BUILD_TYPE DEBUG)
     
    3636IF ( eigen_prefix )
    3737        # compile eigen library separately so can use different compiler flags
    38         ADD_LIBRARY(test_more_eigen_lib EXCLUDE_FROM_ALL 
     38        ADD_LIBRARY(test_more_eigen_lib EXCLUDE_FROM_ALL
    3939                cppad_eigen.cpp
    4040        )
    4141        # Adds -D define flags to the compilation of source files.
    4242        ADD_DEFINITIONS("-DCPPAD_EIGEN_TEST")
    43         # Add other compiler flags 
    44         add_cppad_cxx_flags(test_more_eigen_lib) 
     43        # Add other compiler flags
     44        add_cppad_cxx_flags(test_more_eigen_lib)
    4545        #
    4646        # Add eigen to list of libraries
     
    5454# configure_file(InputFile OutputFile [COPYONLY] [ESCAPE_QUOTES] [@ONLY])
    5555CONFIGURE_FILE(
    56         ${CMAKE_CURRENT_SOURCE_DIR}/test_one.sh.in             
     56        ${CMAKE_CURRENT_SOURCE_DIR}/test_one.sh.in
    5757        ${CMAKE_CURRENT_SOURCE_DIR}/test_one.sh
    5858)
     
    8282        cond_exp.cpp
    8383        cond_exp_ad.cpp
     84        cond_exp_rev.cpp
    8485        copy.cpp
    8586        cos.cpp
     
    141142        vec_ad.cpp
    142143        vec_ad_par.cpp
    143         vec_unary.cpp 
     144        vec_unary.cpp
    144145)
    145146
     
    148149
    149150# List of libraries to be linked into the specified target
    150 TARGET_LINK_LIBRARIES(test_more 
     151TARGET_LINK_LIBRARIES(test_more
    151152        ${colpack_libs}
    152         ${adolc_libs} 
     153        ${adolc_libs}
    153154        ${ipopt_libs}
    154155        ${eigen_libs}
  • trunk/test_more/cond_exp.cpp

    r2893 r3666  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
    6 the terms of the 
     6the terms of the
    77                    Eclipse Public License Version 1.0.
    88
     
    1212
    1313/*
    14 Comprehensive test built on 08/07 for new user interface to CondExp 
     14Comprehensive test built on 08/07 for new user interface to CondExp
    1515*/
    1616// BEGIN C++
     
    3333
    3434        // parameter value
    35         AD<double> one = 1.; 
    36 
    37         // dependent variable vector 
     35        AD<double> one = 1.;
     36
     37        // dependent variable vector
    3838        CPPAD_TESTVECTOR(AD<double>) Y(5);
    3939
     
    4545        Y[4] = CondExpGt(one, X[0], X[1], X[2]);
    4646
    47         // create f: X -> Y 
     47        // create f: X -> Y
    4848        ADFun<double> f(X, Y);
    4949
     
    6363        ok &= Y[4] == X[1];
    6464
    65         // function values 
     65        // function values
    6666        v[0] = 2.;
    6767        v[1] = 1.;
     
    9595        ok   &= (dv[1] == dw[0] + dw[1] );
    9696        ok   &= (dv[2] == dw[2] + dw[3] + dw[4] );
    97        
     97
    9898        return ok;
    9999}
     
    111111
    112112        // parameter value
    113         AD<double> one = 1.; 
    114 
    115         // dependent variable vector 
     113        AD<double> one = 1.;
     114
     115        // dependent variable vector
    116116        CPPAD_TESTVECTOR(AD<double>) Y(5);
    117117
     
    123123        Y[4] = CondExpGt(X[0], one, X[1], X[2]);
    124124
    125         // create f: X -> Y 
     125        // create f: X -> Y
    126126        ADFun<double> f(X, Y);
    127127
     
    141141        ok &= Y[4] == X[2];
    142142
    143         // function values 
     143        // function values
    144144        v[0] = 2.;
    145145        v[1] = 1.;
     
    173173        ok   &= (dv[1] == dw[3] + dw[4] );
    174174        ok   &= (dv[2] == dw[0] + dw[1] + dw[2] );
    175        
     175
    176176        return ok;
    177177}
     
    189189
    190190        // parameter value
    191         AD<double> three = 3.; 
    192 
    193         // dependent variable vector 
     191        AD<double> three = 3.;
     192
     193        // dependent variable vector
    194194        CPPAD_TESTVECTOR(AD<double>) Y(5);
    195195
     
    201201        Y[4] = CondExpGt(X[0], X[1], three, X[2]);
    202202
    203         // create f: X -> Y 
     203        // create f: X -> Y
    204204        ADFun<double> f(X, Y);
    205205
     
    219219        ok &= Y[4] == X[2];
    220220
    221         // function values 
     221        // function values
    222222        v[0] = 2.;
    223223        v[1] = 1.;
     
    251251        ok   &= (dv[1] == 0.);
    252252        ok   &= (dv[2] == dw[0] + dw[1] + dw[2] );
    253        
     253
    254254        return ok;
    255255}
     
    267267
    268268        // parameter value
    269         AD<double> three = 3.; 
    270 
    271         // dependent variable vector 
     269        AD<double> three = 3.;
     270
     271        // dependent variable vector
    272272        CPPAD_TESTVECTOR(AD<double>) Y(5);
    273273
     
    279279        Y[4] = CondExpGt(X[0], X[1], X[2], three);
    280280
    281         // create f: X -> Y 
     281        // create f: X -> Y
    282282        ADFun<double> f(X, Y);
    283283
     
    297297        ok &= Y[4] == three;
    298298
    299         // function values 
     299        // function values
    300300        v[0] = 2.;
    301301        v[1] = 1.;
     
    329329        ok   &= (dv[1] == 0.);
    330330        ok   &= (dv[2] == dw[3] + dw[4] );
    331        
     331
    332332        return ok;
    333333}
     
    335335# include <limits>
    336336bool SecondOrderReverse(void)
    337 {       // Bradley M. Bell 2009-07-04 
     337{       // Bradley M. Bell 2009-07-04
    338338        // Reverse mode for CExpOp was only modifying the highest order partial
    339339        // This test demonstrated the bug
     
    352352
    353353        AD<double> left = X[0];
    354         AD<double> right = X[0] * X[0]; 
     354        AD<double> right = X[0] * X[0];
    355355        AD<double> exp_if_true  = left;
    356356        AD<double> exp_if_false = right;
     
    366366        Z            = CondExpGt(left, right, exp_if_true, exp_if_false);
    367367        Y[1]         = Z * Z;
    368        
     368
    369369        CppAD::ADFun<double> f(X, Y);
    370370
     
    384384        // check first derivative in dw
    385385        double check = 2. * Value( X[0] );
    386         ok &= NearEqual(dw[0], check, eps, eps); 
     386        ok &= NearEqual(dw[0], check, eps, eps);
    387387
    388388        // check second derivative in dw
    389389        check = 2.;
    390         ok &= NearEqual(dw[1], check, eps, eps); 
     390        ok &= NearEqual(dw[1], check, eps, eps);
    391391
    392392        // test exp_if_false case
     
    398398        // check first derivative in dw
    399399        check = 2. * Value( X[0] );
    400         ok &= NearEqual(dw[0], check, eps, eps); 
     400        ok &= NearEqual(dw[0], check, eps, eps);
    401401
    402402        // check second derivative in dw
    403403        check = 2.;
    404         ok &= NearEqual(dw[1], check, eps, eps); 
     404        ok &= NearEqual(dw[1], check, eps, eps);
    405405
    406406        return ok;
     
    415415        using CppAD::AD;
    416416        using CppAD::NearEqual;
    417         using CppAD::log; 
     417        using CppAD::log;
    418418        using CppAD::abs;
    419419        double eps = 100. * std::numeric_limits<double>::epsilon();
     
    445445        }
    446446
    447         // range space vector 
     447        // range space vector
    448448        size_t m = 1;
    449449        CPPAD_TESTVECTOR(AD<double>) Y(m);
     
    455455        // vectors for arguments to the function object f
    456456        CPPAD_TESTVECTOR(double) x(n);   // argument values
    457         CPPAD_TESTVECTOR(double) y(m);   // function values 
    458         CPPAD_TESTVECTOR(double) w(m);   // function weights 
     457        CPPAD_TESTVECTOR(double) y(m);   // function values
     458        CPPAD_TESTVECTOR(double) w(m);   // function weights
    459459        CPPAD_TESTVECTOR(double) dw(n);  // derivative of weighted function
    460460
     
    464464        for(j = 0; j < n; j++)
    465465        {       sign *= -1.;
    466                 x[j] = sign * double(j + 1); 
     466                x[j] = sign * double(j + 1);
    467467                check += log( abs( x[j] ) );
    468468        }
    469469
    470         // function value 
     470        // function value
    471471        y  = f.Forward(0, x);
    472472        ok &= ( y[0] == check );
     
    477477        for(j = 0; j < n; j++)
    478478        {       if( x[j] > 0. )
    479                         ok &= NearEqual(dw[j], 1./abs( x[j] ), eps, eps); 
    480                 else    ok &= NearEqual(dw[j], -1./abs( x[j] ), eps, eps); 
     479                        ok &= NearEqual(dw[j], 1./abs( x[j] ), eps, eps);
     480                else    ok &= NearEqual(dw[j], -1./abs( x[j] ), eps, eps);
    481481        }
    482482
     
    485485        for(j = 0; j < n; j++)
    486486        {       sign *= -1.;
    487                 x[j] = sign * double(j); 
     487                x[j] = sign * double(j);
    488488        }
    489489
    490         // function value 
     490        // function value
    491491        y   = f.Forward(0, x);
    492492        ok &= ( y[0] == -Infinity(0.) );
     
    498498        for(j = 0; j < n; j++)
    499499        {       if( x[j] > 0. )
    500                         ok &= NearEqual(dw[j], 1./abs( x[j] ), eps, eps); 
     500                        ok &= NearEqual(dw[j], 1./abs( x[j] ), eps, eps);
    501501                else if( x[j] < 0. )
    502                         ok &= NearEqual(dw[j], -1./abs( x[j] ), eps, eps); 
     502                        ok &= NearEqual(dw[j], -1./abs( x[j] ), eps, eps);
    503503                else
    504                 {       // in this case computing dw[j] ends up multiplying
    505                         // -infinity * zero and hence results in Nan
    506                         ok &= CppAD::isnan(dw[j]);
    507                 }
     504                        ok &= NearEqual(dw[j], 0.0, eps, eps);
    508505        }
    509        
     506
    510507        return ok;
    511508}
  • trunk/test_more/makefile.am

    r3519 r3666  
    11# $Id$
    22# -----------------------------------------------------------------------------
    3 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-14 Bradley M. Bell
     3# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-15 Bradley M. Bell
    44#
    55# CppAD is distributed under multiple licenses. This distribution is under
    6 # the terms of the 
     6# the terms of the
    77#                     Eclipse Public License Version 1.0.
    88#
     
    1717# -------------------------------------------------------------------------
    1818if CppAD_OPENMP
    19 OPENMP_SRC_FILES   = alloc_openmp.cpp 
     19OPENMP_SRC_FILES   = alloc_openmp.cpp
    2020else
    2121OPENMP_SRC_FILES   =
     
    2323# -------------------------------------------------------------------------
    2424if CppAD_ADOLC
    25 ADOLC_SRC_FILES   = base_adolc.cpp 
     25ADOLC_SRC_FILES   = base_adolc.cpp
    2626ADOLC_EXTRA_FILES =
    2727ADOLC_LIB         = -ladolc -lColPack -L$(ADOLC_DIR)/lib -L$(ADOLC_DIR)/lib64
    28 ADOLC_FLAGS       = -DCPPAD_ADOLC_TEST -I$(ADOLC_DIR)/include 
     28ADOLC_FLAGS       = -DCPPAD_ADOLC_TEST -I$(ADOLC_DIR)/include
    2929else
    3030ADOLC_EXTRA_FILES = base_adolc.cpp
     
    3535# -------------------------------------------------------------------------
    3636if CppAD_IPOPT
    37 IPOPT_SRC_FILES   = ipopt_solve.cpp 
     37IPOPT_SRC_FILES   = ipopt_solve.cpp
    3838IPOPT_EXTRA_FILES =
    3939IPOPT_LIB         = -lipopt \
    4040        $(CPPAD_IPOPT_LIBS) $(FCLIBS) $(PTHREAD_LIB) $(DL_LIB)
    41 IPOPT_FLAGS       = -DCPPAD_IPOPT_TEST -I$(IPOPT_DIR)/include 
     41IPOPT_FLAGS       = -DCPPAD_IPOPT_TEST -I$(IPOPT_DIR)/include
    4242else
    4343IPOPT_EXTRA_FILES = ipopt_solve.cpp
     
    5757        $(CXX_FLAGS_EIGEN) \
    5858        -DCPPAD_EIGEN_TEST \
    59          -I$(EIGEN_DIR)/include 
     59         -I$(EIGEN_DIR)/include
    6060else
    6161EIGEN_EXTRA_FILES   = cppad_eigen.cpp
     
    7878        $(ADOLC_FLAGS) \
    7979        $(IPOPT_FLAGS) \
    80         $(OPENMP_FLAGS) 
     80        $(OPENMP_FLAGS)
    8181#
    8282AM_CXXFLAGS       = -g $(ADOLC_FLAGS) $(IPOPT_FLAGS) $(CXX_FLAGS)
    8383#
    84 AM_LDFLAGS        = $(OPENMP_FLAGS) 
    85 LDADD             = $(ADOLC_LIB) $(IPOPT_LIB) $(EIGEN_LIB) $(OPENMP_FLAGS) 
     84AM_LDFLAGS        = $(OPENMP_FLAGS)
     85LDADD             = $(ADOLC_LIB) $(IPOPT_LIB) $(EIGEN_LIB) $(OPENMP_FLAGS)
    8686#
    8787test_more_SOURCES  = \
     
    107107        cond_exp.cpp \
    108108        cond_exp_ad.cpp \
     109        cond_exp_rev.cpp \
    109110        copy.cpp \
    110111        cos.cpp \
     
    167168        vec_ad.cpp \
    168169        vec_ad_par.cpp \
    169         vec_unary.cpp 
     170        vec_unary.cpp
    170171
    171172test: check
  • trunk/test_more/makefile.in

    r3650 r3666  
    107107        atan2.cpp base_alloc.cpp check_simple_vector.cpp \
    108108        checkpoint.cpp compare.cpp compare_change.cpp cond_exp.cpp \
    109         cond_exp_ad.cpp copy.cpp cos.cpp cosh.cpp dbl_epsilon.cpp \
    110         div.cpp div_eq.cpp div_zero_one.cpp erf.cpp exp.cpp \
    111         extern_value.cpp extern_value.hpp for_hess.cpp \
     109        cond_exp_ad.cpp cond_exp_rev.cpp copy.cpp cos.cpp cosh.cpp \
     110        dbl_epsilon.cpp div.cpp div_eq.cpp div_zero_one.cpp erf.cpp \
     111        exp.cpp extern_value.cpp extern_value.hpp for_hess.cpp \
    112112        for_sparse_jac.cpp forward.cpp forward_dir.cpp \
    113113        forward_order.cpp from_base.cpp fun_check.cpp jacobian.cpp \
     
    133133        checkpoint.$(OBJEXT) compare.$(OBJEXT) \
    134134        compare_change.$(OBJEXT) cond_exp.$(OBJEXT) \
    135         cond_exp_ad.$(OBJEXT) copy.$(OBJEXT) cos.$(OBJEXT) \
    136         cosh.$(OBJEXT) dbl_epsilon.$(OBJEXT) div.$(OBJEXT) \
    137         div_eq.$(OBJEXT) div_zero_one.$(OBJEXT) erf.$(OBJEXT) \
    138         exp.$(OBJEXT) extern_value.$(OBJEXT) for_hess.$(OBJEXT) \
    139         for_sparse_jac.$(OBJEXT) forward.$(OBJEXT) \
     135        cond_exp_ad.$(OBJEXT) cond_exp_rev.$(OBJEXT) copy.$(OBJEXT) \
     136        cos.$(OBJEXT) cosh.$(OBJEXT) dbl_epsilon.$(OBJEXT) \
     137        div.$(OBJEXT) div_eq.$(OBJEXT) div_zero_one.$(OBJEXT) \
     138        erf.$(OBJEXT) exp.$(OBJEXT) extern_value.$(OBJEXT) \
     139        for_hess.$(OBJEXT) for_sparse_jac.$(OBJEXT) forward.$(OBJEXT) \
    140140        forward_dir.$(OBJEXT) forward_order.$(OBJEXT) \
    141141        from_base.$(OBJEXT) fun_check.$(OBJEXT) jacobian.$(OBJEXT) \
     
    491491        cond_exp.cpp \
    492492        cond_exp_ad.cpp \
     493        cond_exp_rev.cpp \
    493494        copy.cpp \
    494495        cos.cpp \
     
    630631@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cond_exp.Po@am__quote@
    631632@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cond_exp_ad.Po@am__quote@
     633@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cond_exp_rev.Po@am__quote@
    632634@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copy.Po@am__quote@
    633635@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cos.Po@am__quote@
  • trunk/test_more/test_more.cpp

    r3646 r3666  
    3737extern bool CondExp(void);
    3838extern bool CondExpAD(void);
     39extern bool cond_exp_rev(void);
    3940extern bool copy(void);
    4041extern bool Cos(void);
     
    148149        ok &= Run( CondExp,         "CondExp"        );
    149150        ok &= Run( CondExpAD,       "CondExpAD"      );
     151        ok &= Run( cond_exp_rev,    "cond_exp_rev"   );
    150152        ok &= Run( copy,            "copy"           );
    151153        ok &= Run( Cos,             "Cos"            );
Note: See TracChangeset for help on using the changeset viewer.