Skip to content

Commit 607c0e3

Browse files
committed
fix bug in pushing talbe
1 parent c1a8b0c commit 607c0e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def get_file_datetime(filepath):
139139

140140
setup(
141141
name='PyTorch',
142-
version='2.8.0',
142+
version='2.8.1',
143143
author='Hugh Perkins',
144144
author_email='hughperkins@gmail.com',
145145
description=(

src/PyTorchAug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def pushTable(lua, table):
101101
for k, v in table.items():
102102
pushSomething(lua, k)
103103
pushSomething(lua, v)
104-
lua.setTable(3)
104+
lua.setTable(-3)
105105

106106
class LuaClass(object):
107107
def __init__(self, *args, nameList):

0 commit comments

Comments
 (0)