Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rfeinman committed Nov 9, 2022
1 parent 4be5fa0 commit 8f9cfdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchmin/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self,
self.gx = gx
self.symmetric = symmetric
# tensor-like properties
self.shape = (x.numel(), x.numel())
self.shape = (f.numel(), x.numel())
self.dtype = x.dtype
self.device = x.device

Expand Down

0 comments on commit 8f9cfdc

Please sign in to comment.