Changes in sasmodels/details.py [ccd5f01:6dc78e4] in sasmodels


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/details.py

    rccd5f01 r6dc78e4  
    230230    npars = kernel.info.parameters.npars 
    231231    nvalues = kernel.info.parameters.nvalues 
    232     scalars = [(v[0] if len(v) else np.NaN) for v, w in pairs] 
     232    scalars = [v[0][0] for v in pairs] 
    233233    values, weights = zip(*pairs[2:npars+2]) if npars else ((),()) 
    234234    length = np.array([len(w) for w in weights]) 
Note: See TracChangeset for help on using the changeset viewer.