Ignore:
Timestamp:
Sep 20, 2014 5:45:43 AM (6 years ago)
Author:
bradbell
Message:

Implement and test first order forward mode.

cache.sh: Erase taylor coefficient when create cache.
forward1sweep.hpp: copy more information from forward0sweep.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cache/cppad/local/cache.hpp

    r3341 r3344  
    171171template <class Base>
    172172void ADFun<Base>::cache(void)
    173 {       create_cache(play_);
     173{
     174        // use cache addresses in the player
     175        create_cache(play_);
     176
     177        // erase the taylor array
     178        size_t c = 0;
     179        size_t r = 0;
     180        capacity_order(c, r);
    174181}
    175182
Note: See TracChangeset for help on using the changeset viewer.