Changeset b7172bb in sasmodels


Ignore:
Timestamp:
Mar 30, 2016 4:39:35 PM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
6f0e04f
Parents:
98f60fc
Message:

… and remember to use the new meshgrid wrapper the I created

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/core.py

    r98f60fc rb7172bb  
    213213    """ 
    214214    value, weight = zip(*pars) 
    215     value = [v.flatten() for v in np.meshgrid(*value)] 
    216     weight = np.vstack([v.flatten() for v in np.meshgrid(*weight)]) 
     215    value = [v.flatten() for v in meshgrid(*value)] 
     216    weight = np.vstack([v.flatten() for v in meshgrid(*weight)]) 
    217217    weight = np.prod(weight, axis=0) 
    218218    return value, weight 
Note: See TracChangeset for help on using the changeset viewer.