Changeset 2212 for trunk/test_more


Ignore:
Timestamp:
Nov 25, 2011 1:22:10 AM (8 years ago)
Author:
bradbell
Message:

Undefine all the defines that are not used outside the CppAD include files.

lu_vec_ad.cpp: change CPPAD_ASSERT to assert.
check_simple_vector.cpp: Use CPPAD_TEST_VECTOR, not CPPAD_BOOSTVECTOR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/check_simple_vector.cpp

    r1612 r2212  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-09 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-11 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    2424                CheckSimpleVector<Scalar, std::vector<Scalar>   > (x, y);
    2525                CheckSimpleVector<Scalar, std::valarray<Scalar> > (x, y);
    26 # if CPPAD_BOOSTVECTOR
    27                 typedef boost::numeric::ublas::vector<Scalar> boost_vector;
    28                 CheckSimpleVector<Scalar, boost_vector > (x, y);
    29 # endif
     26                typedef CPPAD_TEST_VECTOR<Scalar> test_vector;
     27                CheckSimpleVector<Scalar, test_vector > (x, y);
    3028        }
    3129}
Note: See TracChangeset for help on using the changeset viewer.