Skip to content

Jacobian shape error with FillArrays.Zeros vector #177

@matbesancon

Description

@matbesancon

I think this repo is where the issue should be posted, otherwise I'll transfer it to FillArrays

Versions:

  [1a297f60] FillArrays v0.11.7
  [26cc04aa] FiniteDifferences v0.12.12

the issue:

julia> v = rand(3);
julia> FiniteDifferences.jacobian(ffdm, x -> zeros(3), v)[1]
3×3 Matrix{Float64}:
 0.0  0.0  0.0
 0.0  0.0  0.0
 0.0  0.0  0.0

julia> FiniteDifferences.jacobian(ffdm, x -> FillArrays.Zeros(3), v)[1]
1×3 Matrix{Float64}:
 0.0  0.0  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