Skip to content

Commit fb93a82

Browse files
authored
add upgrade path of 1.0 to README
1 parent d286bd7 commit fb93a82

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66

77
# ForwardDiff.jl
88

9+
## Upgrading to ForwardDiff.jl 1.0
10+
11+
Equality (`==`) on `Dual` numbers now requires both the real and dual part to match (https://github.com/JuliaDiff/ForwardDiff.jl/pull/481).
12+
This removes a large number of bugs where the "structure" of e.g, non-zero values in an array was inspected, leading to erroneous derivatives.
13+
This might cause slightly different behavior in programs but should in general be more correct than previously.
14+
15+
---------------------------
16+
917
ForwardDiff implements methods to take **derivatives**, **gradients**, **Jacobians**, **Hessians**, and higher-order derivatives of native Julia functions (or any callable object, really) using **forward mode automatic differentiation (AD)**.
1018

1119
While performance can vary depending on the functions you evaluate, the algorithms implemented by ForwardDiff generally outperform non-AD algorithms (such as finite-differencing) in both speed and accuracy.

0 commit comments

Comments
 (0)