Skip to content

Commit 88370c6

Browse files
committed
Merge pull request #66 from yuyichao/gradient-fix
Extend Base.gradient instead of defining a new one on 0.4
2 parents b71a43f + a6edf5a commit 88370c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Calculus.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ module Calculus
1414
jacobian,
1515
second_derivative
1616

17+
import Base: gradient
18+
1719
# TODO: Debate type system more carefully
1820
# abstract BundledFunction
1921
# abstract ScalarFunction

0 commit comments

Comments
 (0)