(file) Return to sharp.c CVS log (file) (dir) Up to [Development] / JSOC / proj / sharp / apps

Diff for /JSOC/proj/sharp/apps/sharp.c between version 1.34 and 1.36

version 1.34, 2015/02/27 19:50:37 version 1.36, 2015/03/04 04:45:25
Line 1973  void computeSWIndex(struct swIndex *swKe
Line 1973  void computeSWIndex(struct swIndex *swKe
         float *jz_err_squared = (float *) (malloc(nxny * sizeof(float)));         float *jz_err_squared = (float *) (malloc(nxny * sizeof(float)));
         float *jz_err_squared_smooth = (float *) (malloc(nxny * sizeof(float)));         float *jz_err_squared_smooth = (float *) (malloc(nxny * sizeof(float)));
         float *jz_rms_err  = (float *) (malloc(nxny * sizeof(float)));         float *jz_rms_err  = (float *) (malloc(nxny * sizeof(float)));
         float *err_term1   = (float *) (malloc(nxny * sizeof(float)));          float *err_term1   = (float *) (calloc(nxny, sizeof(float)));
         float *err_term2   = (float *) (malloc(nxny * sizeof(float)));          float *err_term2   = (float *) (calloc(nxny, sizeof(float)));
         float *err_termA   = (float *) (calloc(nxny, sizeof(float)));         float *err_termA   = (float *) (calloc(nxny, sizeof(float)));
         float *err_termB   = (float *) (calloc(nxny, sizeof(float)));         float *err_termB   = (float *) (calloc(nxny, sizeof(float)));
         float *err_termAt  = (float *) (calloc(nxny, sizeof(float)));         float *err_termAt  = (float *) (calloc(nxny, sizeof(float)));
Line 2149  void computeSWIndex(struct swIndex *swKe
Line 2149  void computeSWIndex(struct swIndex *swKe
         free(bt_err); free(bh_err);  free(jz_err);         free(bt_err); free(bh_err);  free(jz_err);
         free(jz_err_squared); free(jz_rms_err);         free(jz_err_squared); free(jz_rms_err);
         free(jz_err_squared_smooth);         free(jz_err_squared_smooth);
           free(jz_smooth);
  
         // free the arrays that are related to the numerical derivatives         // free the arrays that are related to the numerical derivatives
         free(err_term2);         free(err_term2);


Legend:
Removed from v.1.34  
changed lines
  Added in v.1.36

Karen Tian
Powered by
ViewCVS 0.9.4