Skip to content

Commit

Permalink
Update sparse_hessian.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Aug 5, 2024
1 parent 75663d9 commit eb9006c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sparse_hessian.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function SparseADHessian(
f,
ncon,
c!;
x0::S = rand(nvar),
x0::AbstractVector = rand(nvar),
coloring::AbstractColoringAlgorithm = GreedyColoringAlgorithm(),
detector::AbstractSparsityDetector = TracerSparsityDetector(),
kwargs...,
Expand Down Expand Up @@ -124,7 +124,7 @@ function SparseReverseADHessian(
f,
ncon,
c!;
x0::AbstractVector{T} = rand(nvar),
x0::AbstractVector = rand(nvar),
coloring::AbstractColoringAlgorithm = GreedyColoringAlgorithm(),
detector::AbstractSparsityDetector = TracerSparsityDetector(),
kwargs...,
Expand Down

0 comments on commit eb9006c

Please sign in to comment.