Skip to content

Use Real as FC instead of AbstractFloat ? #646

Closed
@j-fu

Description

@j-fu

First, thank you for this package !

I am currently trying out its possibilities.
This includes differentiating through the calculations. In the type specification you always seem to require that FC is an AbstractFloat. However, this excludes ForwardDiff.Dual which is passed when performing forward mode autodiff. Their common supertype is Real.

So my question: Would it be possible replace AbstractFloat by Real ?

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