Changeset ce99754 in sasmodels for sasmodels/product.py
- Timestamp:
- Nov 2, 2017 3:44:10 PM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 17db833
- Parents:
- 6aee3ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/product.py
redb0f85 rce99754 279 279 weight = values[nvalues + call_details.num_weights: nvalues + 2*call_details.num_weights] 280 280 npars = model_info.parameters.npars 281 pairs = [(value[offset:offset+length], weight[offset:offset+length]) 281 # Note: changed from pairs ([v], [w]) to triples (p, [v], [w]), but the 282 # dispersion mesh code doesn't actually care about the nominal parameter 283 # value, p, so set it to None. 284 pairs = [(None, value[offset:offset+length], weight[offset:offset+length]) 282 285 for p, offset, length 283 286 in zip(model_info.parameters.call_parameters[2:2+npars],
Note: See TracChangeset
for help on using the changeset viewer.