Skip to content

Terms missing in ExpBlock and LogBlock Hessian evaluation #235

@jrmaddison

Description

@jrmaddison

ExpBlock.evaluate_hessian_component and LogBlock.evaluate_hessian_component are missing the first order adjoint terms.

e.g.

continue_annotation()

a = AdjFloat(1.0)
b = exp(a)

rf = ReducedFunctional(b, Control(a))
rf.derivative()
print(f"{rf.hessian(1.0)=}")

displays 0.0.

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