Ignore:
Timestamp:
03/25/11 20:25:53 (9 years ago)
Author:
aivar
Message:

Got rid of the global old_chisquare, it's passed in as a parameter now. Some test code, commented out, bails out if the delta params go to zero. This gives about a 10% boost in performance. At least, in this case, we should avoid making new alpha and beta matrices.

File:
1 edited

Legend:

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

    r7387 r7675  
    3333                                   void (*fitfunc)(float, float [], float *, float [], int), 
    3434                                   float yfit[], float dy[], 
    35                                    float **alpha, float beta[], float *chisq, 
     35                                   float **alpha, float beta[], float *chisq, float old_chisq, 
    3636                                   float alambda,        
    3737                                        float **pfnvals, float ***pdy_dparam_pure, float ***pdy_dparam_conv, 
Note: See TracChangeset for help on using the changeset viewer.