Changeset 25b30fd in sasmodels


Ignore:
Timestamp:
Mar 21, 2016 6:44:43 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:
3a45c2c
Parents:
48fbd50
Message:

fix opencl compilation problem (string not unicode?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernelcl.py

    r48fbd50 r25b30fd  
    244244            #print("compiling",name) 
    245245            dtype = np.dtype(dtype) 
    246             program = compile_model(self.get_context(dtype), source, dtype, fast) 
     246            program = compile_model(self.get_context(dtype), str(source), dtype, fast) 
    247247            self.compiled[key] = program 
    248248        return self.compiled[key] 
Note: See TracChangeset for help on using the changeset viewer.