ADMB Documentation  -a65f1c97
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
RETURN_ARRAY_INCREMENT and RETURN_ARRAY_DECREMENT

Functions

void RETURN_ARRAYS_DECREMENT ()
 Decrements gradient_structure::RETURN_ARRAYS_PTR. More...
 
void RETURN_ARRAYS_INCREMENT ()
 Increments gradient_structure::RETURN_ARRAYS_PTR. More...
 

Detailed Description

These functions must be called in any function that returns a "variable" object, ie dvariable, dvar_vector, ... Failure to do so may generate an error message related to an overflow in the RETURN_ARRAYS stack, or even worse cause derivatives to be incorrect.

Function Documentation

void RETURN_ARRAYS_DECREMENT ( void  )
void RETURN_ARRAYS_INCREMENT ( void  )