IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 23, 2006, 11:04:51 AM (20 years ago)
Author:
drobbin
Message:

fixed stdout so all machine outputs will match.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/math/tst_psMinimizeLMM.c

    r7181 r7182  
    110110    } else {
    111111        printf("Minimisation took %d iterations\n", min->iter);
    112         printf("chi^2 at the minimum is %f\n", min->value);
     112        printf("chi^2 at the minimum is %.3g\n", min->value);
    113113        for (long i = 0; i < NUM_PARAMS; i++) {
    114             printf("Parameter %ld at the minimum is %f, expected: %f\n", i,
     114            printf("Parameter %ld at the minimum is %.3f, expected: %f\n", i,
    115115                   params->data.F32[i], trueParams->data.F32[i]);
    116116            fflush(stdout);
Note: See TracChangeset for help on using the changeset viewer.