Ignore:
Timestamp:
05/20/11 22:24:58 (9 years ago)
Author:
aivar
Message:

Work in progress. Working on GCI_marquardt_compute_fn, code is commented out so it compiles.

Tidied up a bit.

Unexpected behavior in EcfUtil.c: Optimization looks good in generated assembly code but runs much slower.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/projects/slim-curve/src/main/c/EcfInternal.h

    r7706 r7708  
    1616#define MAXITERS 80 
    1717#define MAXREFITS 10 
     18#define MAXBINS 1024 /* Maximum number of lifetime bins; saves dynamic allocation of small arrays */ 
    1819 
    1920/* Functions from EcfSingle.c */ 
     
    2425                                         void (*fitfunc)(float, float [], float *, float [], int), 
    2526                                         float yfit[], float dy[], 
    26                                          float **alpha, float beta[], float *chisq, 
     27                                         float **alpha, float beta[], float *chisq, float old_chisq, 
    2728                                         float alambda); 
    2829int GCI_marquardt_compute_fn_instr(float xincr, float y[], int ndata, 
Note: See TracChangeset for help on using the changeset viewer.