Changeset 3760 for trunk/test_more


Ignore:
Timestamp:
Nov 30, 2015 11:12:28 PM (4 years ago)
Author:
bradbell
Message:

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: 45a12ad2239733dd6fed7375a21cc8afe670c79a
end hash code: 1c6bd0d4a9645624a8353a71abce8d13a689e72b

commit 1c6bd0d4a9645624a8353a71abce8d13a689e72b
Author: Brad Bell <bradbell@…>
Date: Mon Nov 30 20:00:00 2015 -0800

Put removeal of old directories at front (havning permissions trouble with it).

commit 2ed11779bd51c8dc02900df1f933d6d883af5dd3
Author: Brad Bell <bradbell@…>
Date: Mon Nov 30 18:39:13 2015 -0800

Deprecate individual include files for the utilities and remove from install
(when deprecated is no).

commit 76fe973d931b111bb5c3cde60ae94e7828001919
Author: Brad Bell <bradbell@…>
Date: Mon Nov 30 16:29:38 2015 -0800

Change cppad_implicit_ctor_from_any_type -> cppad_deprecated
(in preparation for excluding more features from installation).

commit 8b429e9401f5ca315c461517f8c12724cf823c55
Author: Brad Bell <bradbell@…>
Date: Mon Nov 30 15:24:44 2015 -0800

Change verbose documentaiton to be YES/NO instead of 0/1.

commit d6f726e0f6145fd59f8ffc5f4080d08faf86c083
Author: Brad Bell <bradbell@…>
Date: Mon Nov 30 15:07:54 2015 -0800

Change cmake_install_prefix->cppad_prefix, cmake_install_postfix->cppad_postfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/cppad_eigen.cpp

    r3070 r3760  
    1 /* $Id$ */
     1// $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
     
    3333        ok &= traits::MulCost                == 2;
    3434
    35         ok &= traits::epsilon() == 
     35        ok &= traits::epsilon() ==
    3636                std::numeric_limits<double>::epsilon();
    37         ok &= traits::dummy_precision() == 
     37        ok &= traits::dummy_precision() ==
    3838                100.* std::numeric_limits<double>::epsilon();
    39         ok &= traits::highest() == 
     39        ok &= traits::highest() ==
    4040                std::numeric_limits<double>::max();
    41         ok &= traits::lowest() == 
     41        ok &= traits::lowest() ==
    4242                std::numeric_limits<double>::min();
    4343
     
    4949
    5050        // Outputing a matrix used to fail before partial specialization of
    51         // struct significant_decimals_default_impl in cppad_eigen.hpp. 
     51        // struct significant_decimals_default_impl in cppad_eigen.hpp.
    5252        Matrix< AD<double>, 1, 1> X;
    5353        X(0, 0) = AD<double>(1);
     
    5656        ok &= "1" == stream_out.str();
    5757
    58 # if ! CPPAD_IMPLICIT_CTOR_FROM_ANY_TYPE
     58# if ! CPPAD_DEPRECATED
    5959        // multiplying three matrices together used to cause warning
    6060        // before making ctor from arbitrary type to AD<Base> explicit.
     
    6464        B(0,0) = 2.0;
    6565        C(0,0) = 3.0;
    66         D      = A * B * C; 
     66        D      = A * B * C;
    6767        ok    &= D(0,0) == 6.0 ;
    6868# endif
    69        
     69
    7070        return ok;
    7171}
Note: See TracChangeset for help on using the changeset viewer.