Changeset 3065 for trunk/test_more


Ignore:
Timestamp:
Dec 29, 2013 9:03:45 AM (6 years ago)
Author:
bradbell
Message:

Add implicit_ctor_from_any_type to auto-tools install.

build.sh: test with implicit ctor from any type.
jenkins.sh: test with implicit ctor from any type.
cppad_eigen.hpp: fix problem when eigen was testvector.
cppad_eigen.cpp: skip sub-test when implicit ctor is chosen.

Location:
trunk/test_more
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/cppad_eigen.cpp

    r3060 r3065  
    1616*/
    1717# include <cppad/example/cppad_eigen.hpp>
    18 # include <cppad/cppad.hpp>
    1918
    2019bool cppad_eigen(void)
     
    5756        ok &= "1" == stream_out.str();
    5857
     58# if ! CPPAD_IMPLICIT_CTOR_FROM_ANY_TYPE
    5959        // multiplying three matrices together used to cause warning
    6060        // before making ctor from arbitrary type to AD<Base> explicit.
     
    6666        D      = A * B * C;
    6767        ok    &= D(0,0) == 6.0 ;
     68# endif
    6869       
    6970        return ok;
  • trunk/test_more/makefile.in

    r2940 r3065  
    292292cppad_has_gettimeofday = @cppad_has_gettimeofday@
    293293cppad_has_nullptr = @cppad_has_nullptr@
     294cppad_implicit_ctor_from_any_type = @cppad_implicit_ctor_from_any_type@
    294295cppad_internal_sparse_set = @cppad_internal_sparse_set@
    295296cppad_libs = @cppad_libs@
Note: See TracChangeset for help on using the changeset viewer.