CppAD: A C++ Algorithmic Differentiation Package
20171217
|
#define CPPAD_ASSERT_NARG_NRES | ( | op, | |
n_arg, | |||
n_res | |||
) |
Check that operator op has the specified number of of arguments and results.
If NDEBUG is not defined and either the number of arguments or the number of results are not as expected, execution is terminated and the source code line number is reported.
Definition at line 158 of file cppad_assert.hpp.
Referenced by CppAD::ADFun< Base >::abs_normal_fun(), CppAD::local::for_hes_sweep(), CppAD::local::for_jac_sweep(), CppAD::local::forward0sweep(), CppAD::local::forward1sweep(), CppAD::local::forward2sweep(), CppAD::local::forward_pri_0(), CppAD::local::player< double >::get(), CppAD::local::subgraph::get_argument_variable(), CppAD::local::optimize::get_opt_op_info(), CppAD::local::player< double >::get_user_info(), CppAD::local::ADTape< Base >::Independent(), CppAD::local::optimize::optimize_run(), CppAD::PrintFor(), CppAD::local::printOp(), CppAD::local::rev_hes_sweep(), CppAD::local::rev_jac_sweep(), CppAD::local::reverse_sweep(), and CppAD::local::subgraph::subgraph_sparsity().