Changeset 0e8b249 in sasview
- Timestamp:
- Dec 9, 2011 3:08:35 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 2e2452b
- Parents:
- ab87b61
- Location:
- pr_inversion/src/sans/pr/c_extensions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pr_inversion/src/sans/pr/c_extensions/Cinvertor.c
rea59943 r0e8b249 505 505 double *pars; 506 506 PyObject* residuals; 507 PyObject* temp;508 double *res;509 507 int i; 510 508 double residual, diff; … … 562 560 double *pars; 563 561 PyObject* residuals; 564 PyObject* temp;565 double *res;566 562 int i; 567 563 double residual, diff; … … 696 692 PyObject *err_obj; 697 693 Py_ssize_t npars2; 698 int i;699 694 700 695 if (!PyArg_ParseTuple(args, "OOd", &data_obj, &err_obj, &r)) return NULL; … … 821 816 static PyObject * get_rg(Cinvertor *self, PyObject *args) { 822 817 double *pars; 823 double *pars_err;824 818 PyObject *data_obj; 825 819 Py_ssize_t npars; 826 Py_ssize_t npars2;827 820 double value; 828 821 … … 843 836 static PyObject * get_iq0(Cinvertor *self, PyObject *args) { 844 837 double *pars; 845 double *pars_err;846 838 PyObject *data_obj; 847 839 Py_ssize_t npars; 848 Py_ssize_t npars2;849 840 double value; 850 841 -
pr_inversion/src/sans/pr/c_extensions/invertor.c
rc04cbd7 r0e8b249 62 62 */ 63 63 double ortho_transformed_smeared(double d_max, int n, double height, double width, double q, int npts) { 64 double sum, value,y, z;64 double sum, y, z; 65 65 int i, j, n_height, n_width; 66 66 double count_w; … … 277 277 double positive_errors(double *pars, double *err, double d_max, int n_c, int nslice) { 278 278 double r; 279 double value;280 279 int i; 281 280 double sum_pos = 0.0;
Note: See TracChangeset
for help on using the changeset viewer.