Skip to content

The Hessian of the LinearAlgebra.jl dot is incorrect #622

Closed
@Nimrais

Description

@Nimrais

The computation of the Hessian of the LinearAlgebra.jl dot is wrong:

using ForwardDiff
using LinearAlgebra
@info ForwardDiff.hessian(x -> dot(x, ones(1,1), x), [0])

Produced output:

[ Info: [0.0;;]

Environment:

julia version 1.8.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions