1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-07-03 09:56:10 +02:00

Fix Python API build

This commit is contained in:
Evgeny Posenitskiy 2023-01-19 20:04:04 +01:00 committed by GitHub
parent 4616467c4e
commit b288740292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,9 +175,9 @@ with open("qmckl_include.i", 'w') as f_out:
#print("String type", k, v)
pass
# if len(v['pattern'].split(',')) != 2:
if len(v['pattern'].split(',')) != 2:
# print('Problemo', k, v)
# continue
continue
if 'get' in k:
f_out.write(f"%apply ( {v['datatype']}* ARGOUT_ARRAY1 , int64_t DIM1 ) {{ {v['pattern']} }};\n")