Changeset 0880966 in sasmodels for sasmodels/kerneldll.py
- Timestamp:
- Mar 21, 2016 12:34:51 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 839283a
- Parents:
- 9f4409a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kerneldll.py
r39cc3be r0880966 271 271 #weights = np.asarray(weights, dtype=real) 272 272 #values = np.asarray(values, dtype=real) 273 #TODO: How can I access max_pd and is this the way to do it? 274 #max_pd = model_info['max_pd'] 275 max_pd = 1 273 276 args = [ 274 277 self.q_input.nq, # nq 278 #TODO: pd_start will need to be changed 275 279 0, # pd_start 276 1, # pd_stop280 details[3*max_pd:4*max_pd], # pd_stop pd_stride[MAX_PD] 277 281 details.ctypes.data, # problem 278 282 weights.ctypes.data, # weights
Note: See TracChangeset
for help on using the changeset viewer.