Ignore:
Timestamp:
Oct 20, 2013 7:33:35 PM (7 years ago)
Author:
bradbell
Message:

Use index instead of pointer because pointer can become invalid when vector grows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/opt_cond_exp/cppad/local/player.hpp

    r2967 r2980  
    227227        /*!
    228228        \brief
    229         Replace an argument index in the recording.
     229        Replace an argument value in the recording.
     230        2DO: change name of this routine to ReplaceArg.
    230231
    231232        \param i
    232         is the index, in argument indices, that is to be replaced.
     233        is the index, in the recording argument vector,
     234        of the value that is to be replaced.
    233235
    234236        \param value
    235         is the new normal index value.
     237        is the new argument value.
    236238        */
    237239        void ReplaceInd(size_t i, size_t value)
Note: See TracChangeset for help on using the changeset viewer.