Changeset 2794 for trunk/test_more


Ignore:
Timestamp:
May 2, 2013 4:20:30 AM (7 years ago)
Author:
bradbell
Message:
  1. Use CPPAD_NULL, intead of 0, for null pointer.

check_if_0.sh: Ignore subdirectories of new directories.
jenkins.sh: output logs when an error occurs.
acos_op.hpp: avoid use of q (will use it for an order index).
asin_op.hpp: avoid use of q (will use it for an order index).
forward_sweep.hpp: chnage d to p, use const in prototype.
div_op.hpp: minor edit of white space.
atom_usead_2.cpp: use ADFUN to compute variable/parameter information.

Location:
trunk/test_more
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/base_adolc.cpp

    r2506 r2794  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    6464
    6565        // arrays for Adolc zos_forward
    66         double *x = 0, *y = 0;
     66        double *x = CPPAD_NULL, *y = CPPAD_NULL;
    6767        x = CPPAD_TRACK_NEW_VEC(n, x);
    6868        y = CPPAD_TRACK_NEW_VEC(m, y);
  • trunk/test_more/mul_level.cpp

    r2506 r2794  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    201201        // compute the d/dx of f'(x) * v = f''(x) * v
    202202        size_t m      = n;                     // # dependent in f'(x)
    203         double *v = 0, *ddf_v = 0;
     203        double *v = CPPAD_NULL, *ddf_v = CPPAD_NULL;
    204204        v     = CPPAD_TRACK_NEW_VEC(m, v);     // track v = new double[m]
    205205        ddf_v = CPPAD_TRACK_NEW_VEC(n, ddf_v); // track ddf_v = new double[n]
  • trunk/test_more/track_new_del.cpp

    r2506 r2794  
    11/* $Id$ */
    22/* --------------------------------------------------------------------------
    3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell
     3CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-13 Bradley M. Bell
    44
    55CppAD is distributed under multiple licenses. This distribution is under
     
    4141
    4242        // allocate an array of lenght 5
    43         double *ptr = 0;
     43        double *ptr = CPPAD_NULL;
    4444        size_t  newlen = 5;
    4545        ptr = CPPAD_TRACK_NEW_VEC(newlen, ptr);
Note: See TracChangeset for help on using the changeset viewer.