Changeset 343


Ignore:
Timestamp:
Aug 16, 2012 4:17:24 PM (7 years ago)
Author:
utke
Message:

int and size_t are incompatible on some platforms - so be consistent and
list it in the manual as declared in the code with size_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/doc/adolc-manual.tex

    r339 r343  
    799799At any point in the program, one may call the routine
    800800\begin{center}
    801 {\sf void tapestats(unsigned short tag, int* counts)}
     801{\sf void tapestats(unsigned short tag, size_t* counts)}
    802802\end{center}
    803803with {\sf counts} beeing an array of at least eleven integers.
     
    37533753...
    37543754void main() {
    3755 int n,i,j,tape_stats[STAT_SIZE];
     3755int n,i,j;
     3756size_t tape_stats[STAT_SIZE];
    37563757cout << "SPEELPENNINGS PRODUCT (ADOL-C Documented Example) \n";
    37573758cout << "number of independent variables = ?  \n";
Note: See TracChangeset for help on using the changeset viewer.