Skip to content

Commit 7bd03c2

Browse files
committed
Modifying #13
1 parent c637186 commit 7bd03c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dezero/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def __call__(self, *inputs):
195195
for output in outputs:
196196
output.set_creator(self)
197197
self.inputs = inputs
198-
self.outputs = [weakref.ref(y) for y in outputs]
198+
self.outputs = [weakref.ref(output) for output in outputs]
199199

200200
return outputs if len(outputs) > 1 else outputs[0]
201201

0 commit comments

Comments
 (0)