Changeset ce99754 in sasmodels for sasmodels/details.py


Ignore:
Timestamp:
Nov 2, 2017 3:44:10 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
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
Message:

make sure that nominal values get into the weight vector even when there is no pd so that pd loops are simpler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/details.py

    r6aee3ab rce99754  
    318318    parameter set in the vector. 
    319319    """ 
    320     value, dispersity, weight = zip(*mesh) 
     320    _, dispersity, weight = zip(*mesh) 
    321321    #weight = [w if len(w)>0 else [1.] for w in weight] 
    322322    weight = np.vstack([v.flatten() for v in meshgrid(*weight)]) 
Note: See TracChangeset for help on using the changeset viewer.