Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sritchie committed Aug 8, 2024
1 parent f6ba5b2 commit 12d72ec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## [unreleased]

This PR:

- Moves the `IPerturbed` implementation for functions to `emmy.function`, out
of `emmy.calculus.derivative`

- Adds a new `mode` parameter to `emmy.differential/extract-tangent`, in
preparation for allowing reverse and forward mode across all output types

- #175:

- Adds `emmy.env/{tau,-tau}` constants for the $\tau$ fans out there
Expand Down
2 changes: 1 addition & 1 deletion src/emmy/calculus/derivative.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
(let [tag (d/fresh-tag)
lifted (d/bundle-element x 1 tag)]
(-> (d/with-active-tag tag f [lifted])
(d/extract-tangent tag ::forward)))))
(d/extract-tangent tag d/FORWARD-MODE)))))

;; The result of applying the derivative `(D f)` of a multivariable function `f`
;; to a sequence of `args` is a structure of the same shape as `args` with all
Expand Down

0 comments on commit 12d72ec

Please sign in to comment.