Show
Ignore:
Timestamp:
01/16/07 10:31:41 (2 years ago)
Author:
peter
Message:

source/service.cpp

  • Bug-fix. Fix problem in e2() with negative return values for very large tau.

source/thirdparty_bevington.cpp
source/conv_eden_ioniz.cpp
source/thirdparty.cpp
source/thirdparty.h

  • Replace Bevington linfit routine with open source version.
  • Bug-fix. Replace call to y0() -> bessel_y0(), y1() -> bessel_y1() in bessel_yn().
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/conv_eden_ioniz.cpp

    r785 r786  
    263263                                                if( nEval>3 && lgHistUpdate ) 
    264264                                                { 
    265                                                         double y_intercept , stdx , stdy ,reg_coef, 
    266                                                                 slope_save; 
     265                                                        double y_intercept, stdx, stdy, slope_save; 
    267266                                                        slope_save = slope_ls; 
    268267                                                        /* enough data to do least squares */ 
    269                                                         if( linfit(eden_assumed_history,  
    270                                                                 eden_error_history,  
    271                                                                 stdarray,  
    272                                                                 nEval,  
    273                                                                 /* this says same weight for all */ 
    274                                                                 0,  
    275                                                                 &y_intercept,  
    276                                                                 &stdy,  
    277                                                                 &slope_ls,  
    278                                                                 &stdx,  
    279                                                                 &reg_coef) ) 
     268                                                        if( linfit(nEval, 
     269                                                                   eden_assumed_history,  
     270                                                                   eden_error_history,  
     271                                                                   y_intercept,  
     272                                                                   stdy,  
     273                                                                   slope_ls,  
     274                                                                   stdx) ) 
    280275                                                        { 
    281276                                                                int i;