shinmorino / sqaod

Solvers/annealers for simulated quantum annealing on CPU and CUDA(NVIDIA GPU).
https://github.com/shinmorino/sqaod/wiki
Other
83 stars 21 forks source link

Checking type-strictness of scalars in python c-ext. #29

Closed shinmorino closed 6 years ago

shinmorino commented 6 years ago

Values for np.float32 and np.float64 are correctly copied to C variables. Changes are committed at 434af028d07fa9f0cd798287380d2a7fee41551f. Element types of ndarray objects are checked in c-extension. Commited at 4e3bf09657a9ee371daf037dd464e2bec0327030.