Changeset 2893 for trunk/test_more
 Timestamp:
 Aug 13, 2013 1:35:21 PM (6 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/test_more/cond_exp.cpp
r2506 r2893 1 1 /* $Id$ */ 2 2 /*  3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 20031 2Bradley M. Bell3 CppAD: C++ Algorithmic Differentiation: Copyright (C) 200313 Bradley M. Bell 4 4 5 5 CppAD is distributed under multiple licenses. This distribution is under … … 493 493 494 494 // compute derivative of y[0] 495 f.check_for_nan(false); 495 496 w[0] = 1.; 496 497 dw = f.Reverse(1, w); … … 503 504 { // in this case computing dw[j] ends up multiplying 504 505 // infinity * zero and hence results in Nan 506 ok &= CppAD::isnan(dw[j]); 505 507 } 506 508 }
Note: See TracChangeset
for help on using the changeset viewer.