Changeset 78356b31 in sasmodels


Ignore:
Timestamp:
Oct 4, 2014 6:25:14 PM (10 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:
2d0aced
Parents:
6798848
Message:

fix warning that pyopencl failed

Location:
sasmodels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/bumps_model.py

    rabb22f4 r78356b31  
    1010    from .gpu import load_model as _loader 
    1111except ImportError,exc: 
     12    import warnings 
    1213    warnings.warn(str(exc)) 
    1314    warnings.warn("OpenCL not available --- using ctypes instead") 
  • sasmodels/gen.py

    r19dcb933 r78356b31  
    482482        weights = [p+"_w" for p in pd_pars]+['spherical_correction'] 
    483483        sasview_spherical = "" 
    484     elif "theta" in pd_pars: 
     484    elif True and "theta" in pd_pars: 
    485485        spherical_correction = [indent(SASVIEW_SPHERICAL_CORRECTION,depth)] 
    486486        weights = [p+"_w" for p in pd_pars] 
Note: See TracChangeset for help on using the changeset viewer.