Releases: JuliaDiff/ForwardDiff.jl
Releases · JuliaDiff/ForwardDiff.jl
v1.0.1
ForwardDiff v1.0.1
Merged pull requests:
- Update how_it_works.md (#672) (@vpuri3)
- Bump codecov/codecov-action from 4 to 5 (#723) (@dependabot[bot])
- Do not seed structural zeros (#739) (@devmotion)
Closed issues:
- Duals and ranges (#275)
- Compiletime for tensor very slow (#278)
- gradients of hessians with divisions (#285)
- printf formatting causes stack overflow (#289)
- FieldVectors (#305)
- Problem with
abs
(#377) - Complex valued pow gives stackoverflow error (#486)
- Complex derivative of power fails (#514)
- Replace values of Duals with other numbers (#526)
- Thread Safety of ForwardDiff.GradientConfig (#573)
- use StaticArraysCore.jl (#591)
- Violating assumptions about Dual comparisons (#609)
- ERROR: MethodError: no method matching Float32(::ForwardDiff.Dual{ForwardDiff.Tag{var"#11#12", Float32}, Float32, 12}) (#611)
- Derivative is wrong for this inverse quadratic form (#633)
- Different results on Intel vs. AMD with ForwardDiff (#636)
- Type instability in jacobian! filling JacobianResult when using StaticArrays (#639)
- incorrect 2nd derivative of complex exponential (#653)
- Derivative of a function of derivatives (#673)
- ERROR: Package ForwardDiff errored during testing (#700)
- UpperTriangular / LowerTriangular broken on 1.0.0 (#738)
v1.0.0
ForwardDiff v1.0.0
Breaking changes
- Equality (
==
) onDual
numbers now requires both the real and dual part to match (#481). 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. This might cause slightly different behavior in programs but should in general be more correct than previously.
Merged pull requests:
- Specialize on functions in StaticArrays extension (#721) (@devmotion)
- Remove CI check for invalidations (#722) (@devmotion)
- Bump version to 1.0.0 (#729) (@devmotion)
- Fix typo in DerivativeConfig docs (#733) (@gdalle)
- use
Base.Fix1
instead of closures inForwardDiffStaticArraysExt.jl
(#735) (@jondeuce)
Closed issues:
- Can you take derivative of complicated function whose symbolic form is not explicit or not known? (#654)
- Tag v1.0 (#719)
- Modification of equality checking between two Duals not synchronized between master and last release (#726)
- Throwing errors after 1000 time steps simulation (#736)
- Matrix inverse is broken (#737)
v0.10.38
ForwardDiff v0.10.38
Merged pull requests:
- Fix exponentiation for
NaNMath.pow
(#717) (@jClugstor) - Backport #717 to 0.10 (#718) (@devmotion)
Closed issues:
- Implementation of Dual for
NaNMath.pow
does not useNaNMath.log
(#716)
v0.10.37
ForwardDiff v0.10.37
Merged pull requests:
- Update how_it_works.md (#660) (@thomvet)
- Bump actions/checkout from 3 to 4 (#663) (@dependabot[bot])
- Update for Documenter.jl v1 (#683) (@hyrodium)
- Broaden promote_rule for Dual to include AbstractIrrational (#687) (@ElOceanografo)
- Restrict StaticArrays to compatible versions (#688) (@andreasnoack)
- Bump actions/cache from 3 to 4 (#692) (@dependabot[bot])
- Bump codecov/codecov-action from 3 to 4 (#693) (@dependabot[bot])
- Make
isless
,<
,>
,<=
, and>=
consistent with==
andisequal
(#695) (@devmotion) - Bump julia-actions/setup-julia from 1 to 2 (#699) (@dependabot[bot])
- Add support for StaticArrays >= 1.7 (#703) (@devmotion)
- Remove redundant
DEFAULT_CHUNK_THRESHOLD
(#704) (@sjkelly) - Stop precomputing chunk sizes (#708) (@KristofferC)
- Apply #656 to master (#711) (@devmotion)
- Backport bug and test fixes to release-0.10 to prepare for new 0.10 release (#712) (@devmotion)
- Fix method ambiguity for
Base.TwicePrecision
(#715) (@devmotion)
Closed issues:
- MethodError: no method matching getrf!(::CuArray{ForwardDiff.Dual{ForwardDiff.Tag{ODEFunction (#612)
- Broken external link (#649)
- Correctly forming nested dual numbers. (#671)
ForwardDiff
fails to compute correct derivative (#676)- Error requiring
Symbolics
fromOptimization
(#685) - promote_rule ambiguity with AbstractIrrational and ForwardDiff.Dual (#686)
- Working with anonymous functions (#694)
v0.10.36
ForwardDiff v0.10.36
Closed issues:
- Using a Pkg extension to reduce package load time caused by StaticArrays (#629)
- AD in-place instead of broadcast (#645)
- Is the mutating code the problem here? How could I debug this? (#646)
Merged pull requests:
- avoid defining one arg hash (#631) (@KristofferC)
- enable dependabot for GitHub actions (#635) (@ranocha)
- Fix two typos (#638) (@goggle)
- Bump codecov/codecov-action from 1 to 3 (#641) (@dependabot[bot])
- Bump actions/checkout from 2 to 3 (#642) (@dependabot[bot])
- Bump actions/cache from 1 to 3 (#643) (@dependabot[bot])
- Add test of second-order derivative of
t -> abs(t)^2
(#650) (@devmotion) floatmin
for nestedDual
s sharing the same tag (#656) (@chriselrod)- example in docs (#657) (@cossio)
v0.10.35
ForwardDiff v0.10.35
Closed issues:
- type instabilities when passing a function to jacobian! (#516)
- Highly invalidating method: promote_rule(::Type{R}, ::Type{ForwardDiff.Dual{T, V, N}}) where {R<:Real, T, V, N} (#620)
- The Hessian of the
LinearAlgebra.jl
dot is incorrect (#622) - Jacobian returns zero matrix (#623)
Merged pull requests:
- Forbid offsets (#586) (@mcabbott)
- Add Invalidations.yml [ci skip] [skip tests] (#596) (@ranocha)
- Version 0.11 (#613) (@mcabbott)
- Support specializing on functions (#615) (@j-fu)
- Remove
if VERSION ≥ v"1.4"
etc. (#616) (@mcabbott) - Fix minor typo in advanced.md (#621) (@thomvet)
- Turn StaticArrays into an Extension Package (#625) (@ChrisRackauckas)
- make StaticArrays dependency into an extension on v0.11-dev (#628) (@ChrisRackauckas)
v0.10.34
v0.10.33
ForwardDiff v0.10.33
This release was yanked in JuliaRegistries/General#73304, i.e. ] up
will not install it.
Changes here should be in 0.11, see #613
Closed issues:
- support for the determinant function (#197)
- Derivative of matrix inverse for diagonal matrix is not correct? (#490)
- Incorrect gradient with cascaded reshape, linear equation solver operations (#506)
- Derivative lost in 3-arg mul (#536)
- Inconsistent behavior in assignment to sparse matrices of Dual numbers (#542)
- The Hessian of x-> dot(x,H,x) should be H+H', not zero (#551)
==
(x,y) is true when only partials(y) have NaNs (#600)-
- Operator not defined for ForwardDiff.Dual{...} (#601)
- ldexp does not maintain type of Float32 arguments (#604)
Merged pull requests:
v0.10.32
ForwardDiff v0.10.32
Merged pull requests:
- DEFAULT_CHUNK_THRESHOLD is configurable via Preferences.jl (#582) (@lassepe)
- check for
iszero(partials(x))
in pow (#592) (@chriselrod)
v0.10.31
ForwardDiff v0.10.31
Merged pull requests:
- Define
SpecialFunctions.gamma_inc
forForwardDiff.Dual
(#587) (@devmotion) - Update README.md (#588) (@mcabbott)