Skip to content

Commit

Permalink
agh typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wclaybaugh committed Dec 11, 2018
1 parent 1c3cd96 commit ed167cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autodiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, name, value):
der = np.zeros(value.shape)
der[tuple(indices)] = 1

extended_name = name+repr(indices).repalce(" ","")
extended_name = name+repr(indices).replace(" ","")

self.derivatives[extended_name] = der
else:
Expand Down

0 comments on commit ed167cb

Please sign in to comment.