Ignore:
Timestamp:
Feb 17, 2010 1:33:52 PM (10 years ago)
Author:
utke
Message:

compiler message: ISO C++ does not support the `%le' printf format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/examples/additional_examples/lufact/LUdet.cpp

    r42 r88  
    8383    Adet >>= det;
    8484    trace_off();
    85     fprintf(stdout," Determinant (original):  %16.4le\n",det);
     85    fprintf(stdout," Determinant (original):  %16.4E\n",det);
    8686
    8787
     
    8989    /* Recomputation of determinant */
    9090    function(tag,depen,indep,args,&det);
    91     fprintf(stdout," Determinant (from tape): %16.4le\n",det);
     91    fprintf(stdout," Determinant (from tape): %16.4E\n",det);
    9292
    9393
     
    9898    for (i=0; i<size; i++) {
    9999        for (j=0; j<size; j++)
    100             fprintf(stdout," %14.6le",grad[i*size+j]);
     100            fprintf(stdout," %14.6E",grad[i*size+j]);
    101101        fprintf(stdout,"\n");
    102102    }
     
    108108    for (i=0; i<size; i++) {
    109109        for (j=0; j<size; j++)
    110             fprintf(stdout," %14.6le",hess[0][i*size+j]);
     110            fprintf(stdout," %14.6E",hess[0][i*size+j]);
    111111        fprintf(stdout,"\n");
    112112    }
Note: See TracChangeset for help on using the changeset viewer.