Changes in / [d6f60c3:1e13e35] in sasmodels
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
r8c65a33 rfe25eda 1063 1063 # Evaluate preset parameter expressions 1064 1064 context = MATH.copy() 1065 context['np'] = np 1065 1066 context.update(pars) 1066 1067 context.update((k,v) for k,v in presets.items() if isinstance(v, float)) -
sasmodels/details.py
r6dc78e4 rccd5f01 230 230 npars = kernel.info.parameters.npars 231 231 nvalues = kernel.info.parameters.nvalues 232 scalars = [ v[0][0] for vin pairs]232 scalars = [(v[0] if len(v) else np.NaN) for v, w in pairs] 233 233 values, weights = zip(*pairs[2:npars+2]) if npars else ((),()) 234 234 length = np.array([len(w) for w in weights])
Note: See TracChangeset
for help on using the changeset viewer.