Changeset 34c2649 in sasview for sansmodels/src/sans/models/c_models/CHardsphereStructure.cpp
- Timestamp:
- Nov 21, 2011 4:52:25 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:
- 1810613
- Parents:
- afea8fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_models/CHardsphereStructure.cpp
r35aface r34c2649 175 175 { 176 176 PyArrayObject *result; 177 int i, j, x_len, y_len, dims[1];177 int i, x_len, dims[1]; 178 178 //check validity of input vectors 179 179 if (x->nd != 1 || x->descr->type_num != PyArray_DOUBLE … … 188 188 189 189 x_len = dims[0]= x->dimensions[0]; 190 y_len = dims[0]= y->dimensions[0];191 190 192 191 // Make a new double matrix of same dims … … 346 345 static PyObject * calculate_ER(CHardsphereStructure *self) { 347 346 348 PyObject* pars;349 int npars;350 351 347 // Get parameters 352 348
Note: See TracChangeset
for help on using the changeset viewer.