Changeset 644


Ignore:
Timestamp:
Dec 8, 2015 12:31:41 PM (4 years ago)
Author:
awalther
Message:

correction in computation of abs-normal form

Location:
trunk/ADOL-C
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/include/adolc/internal/adolc_settings.h

    r598 r644  
    22 ADOL-C -- Automatic Differentiation by Overloading in C++
    33 File:     adolc_settings.h
    4  Revision: $Id$
     4 Revision: $Id: adolc_settings.h.in 537 2014-08-15 14:10:48Z kulshres $
    55 Contents: ADOL-C Settings:
    66           These parameters might affect the performance of the ADOL-C
  • trunk/ADOL-C/include/adolc/internal/usrparms.h

    r542 r644  
    2222/*--------------------------------------------------------------------------*/
    2323/* Buffer sizes */
    24 #define OBUFSIZE 524288 /* 16384 or  65536  */
    25 #define LBUFSIZE 524288 /* 16384 or  65536  */
    26 #define VBUFSIZE 524288 /* 16384 or  65536  */
     24#define OBUFSIZE 50000000 /* 16384 or  65536  */
     25#define LBUFSIZE 50000000 /* 16384 or  65536  */
     26#define VBUFSIZE 50000000 /* 16384 or  65536  */
    2727
    2828/*--------------------------------------------------------------------------*/
    2929/* Buffer size for temporary Taylor store */
    30 #define TBUFSIZE  524288 /* 16384 or  65536  */
     30#define TBUFSIZE 50000000 /* 16384 or  65536  */
    3131
    3232/*--------------------------------------------------------------------------*/
  • trunk/ADOL-C/src/drivers/psdrivers.c

    r641 r644  
    153153            L[i][j]=res[j+n];
    154154            if (j < i)
    155                 cz[i] = cz[i]-L[i][j]*sigma[j]*z[j];
     155              {
     156                cz[i] = cz[i]-L[i][j]*fabs(z[j]);
     157              }
    156158        }
    157159    } else {
     
    162164        for(j=0;j<s;j++){
    163165            Y[l][j]=res[j+n];
    164             cy[l] = cy[l]-Y[l][j]*sigma[j]*z[j];
     166            cy[l] = cy[l]-Y[l][j]*fabs(z[j]);
    165167        }
    166168    }
Note: See TracChangeset for help on using the changeset viewer.