Changeset c52f9da in sasmodels


Ignore:
Timestamp:
Sep 6, 2016 12:27:21 PM (6 years ago)
Author:
wojciech
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:
a557a99
Parents:
27fc92f
Message:

Adding handling for unset SAS_OPENCL variable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/core.py

    r27fc92f rc52f9da  
    2222from . import kerneldll 
    2323 
    24 if os.environ["SAS_OPENCL"]=="None": 
     24if "SAS_OPENCL" in os.environ and os.environ["SAS_OPENCL"]=="None": 
    2525    HAVE_OPENCL = False 
    2626else: 
Note: See TracChangeset for help on using the changeset viewer.