Changeset 8dbc4e5 in sasview for sansmodels/src/sans/models
- Timestamp:
- Jun 9, 2011 12:16:24 PM (14 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:
- 3dee08e
- Parents:
- 5d2b35a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_smearer/smearer2d_helper_module.cpp
r5d2b35a r8dbc4e5 48 48 PyObject *dqx_values_obj; 49 49 PyObject *dqy_values_obj; 50 //Py_ssize_t n_q;50 Py_ssize_t n_q; 51 51 //PyObject rlimit_obj; 52 52 //PyObject npoints_obj; … … 64 64 65 65 if (!PyArg_ParseTuple(args, "OOOOdiii", &qx_values_obj, &qy_values_obj, &dqx_values_obj, &dqy_values_obj, &rlimit, &nrbins, &nphibins, &npoints)) return NULL; 66 OUTVECTOR(qx_values_obj, qx_values, n points);67 OUTVECTOR(qy_values_obj, qy_values, n points);68 OUTVECTOR(dqx_values_obj, dqx_values, n points);69 OUTVECTOR(dqy_values_obj, dqy_values, n points);66 OUTVECTOR(qx_values_obj, qx_values, n_q); 67 OUTVECTOR(qy_values_obj, qy_values, n_q); 68 OUTVECTOR(dqx_values_obj, dqx_values, n_q); 69 OUTVECTOR(dqy_values_obj, dqy_values, n_q); 70 70 Smearer_helper* smearer2d_helper = new Smearer_helper(npoints,qx_values,qy_values,dqx_values,dqy_values, rlimit, nrbins, nphibins); 71 71 return PyCObject_FromVoidPtr(smearer2d_helper, del_smearer2d_helper);
Note: See TracChangeset
for help on using the changeset viewer.