Changeset 7872 for trunk/projects/slimcurve/src/main/c/EcfWrapper.c
 Timestamp:
 01/27/12 19:41:10 (8 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/projects/slimcurve/src/main/c/EcfWrapper.c
r7781 r7872 30 30 double instr[], 31 31 int n_instr, 32 int noise, 32 33 double sig[], 33 34 double *z, … … 39 40 ) { 40 41 41 int noise = 0;42 42 int n_data = fit_end + 1; 43 43 float *y_float = (float *)malloc(n_data * sizeof(float)); … … 119 119 double instr[], 120 120 int n_instr, 121 int noise, 121 122 double sig[], 122 123 double param[], … … 125 126 double fitted[], 126 127 double *chi_square, 127 double chi_square_target 128 double chi_square_target, 129 double chi_square_delta 128 130 ) { 129 131 130 int noise = 0;131 132 int restrain = 0; 132 float chi_square_delta = 0;133 133 float chi_square_percent = 500; 134 134 135 int n_data = fit_end + 1; 135 136 float *y_float = (float *)malloc(n_data * sizeof(float));
Note: See TracChangeset
for help on using the changeset viewer.