10
0
mirror of https://gitlab.com/scemama/EZFIO.git synced 2024-12-22 12:23:34 +01:00

Added int for dimensions

This commit is contained in:
Anthony Scemama 2023-09-22 16:20:18 +02:00
parent 0520b5e2cf
commit dba01c4fe0

View File

@ -107,7 +107,7 @@ for group in list(groups.keys()):
declar_loop = declar_loop[:-1]
for k,d in enumerate(dims):
dims_loop += " dims("+str(k+1)+") = "+str(d)+"\n"
dims_loop_py += " dims["+str(k)+"] = "+str(d)+"\n"
dims_loop_py += " dims["+str(k)+"] = int("+str(d)+")\n"
for k,d in enumerate(dims):
copy_loop += k*" "+" do i"+str(k+1)+"=1,"+str(d)+'\n'
copy_loop += (k+1)*" "+" %(var)s ("