Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
RighterTheOriginal committed Sep 4, 2024
1 parent 88d0e84 commit 99969c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def input_var_py(encoding):
indexing = ''
for i in range(c):
indexing += '[' + chr(ord('i') + i) + ']'
inp += " " + encoding.name + indexing + " = cin()" + "\n"
inp += " " + encoding.name + indexing + " = " + encoding.datatype_py[:ind] + "(cin())" + "\n"
return inp


Expand Down

0 comments on commit 99969c1

Please sign in to comment.