Changeset 7ff3cf3 in sasmodels for sasmodels/kerneldll.py
- Timestamp:
- Mar 21, 2016 4:55:33 AM (8 years ago)
- 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:
- 5cf3c33, 3a45c2c
- Parents:
- e1bdc7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/kerneldll.py
r4a72d1a r7ff3cf3 50 50 import tempfile 51 51 import ctypes as ct 52 from ctypes import c_void_p, c_int , c_longdouble, c_double, c_float52 from ctypes import c_void_p, c_int32, c_longdouble, c_double, c_float 53 53 54 54 import numpy as np … … 205 205 206 206 # int, int, int, int*, double*, double*, double*, double*, double*, double 207 argtypes = [c_int ]*3 + [c_void_p]*5 + [fp]207 argtypes = [c_int32]*3 + [c_void_p]*5 + [fp] 208 208 self.Iq = self.dll[generate.kernel_name(self.info, False)] 209 209 self.Iqxy = self.dll[generate.kernel_name(self.info, True)]
Note: See TracChangeset
for help on using the changeset viewer.