Skip to content

Commit

Permalink
Adds a final test for today.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Aug 23, 2024
1 parent 79382e7 commit 5563c2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plans/gradient_plan.jl
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,8 @@ function (a::AverageGradientRule)(
end

"""
AverageGradient()
AverageGradient(M; kwargs...)
AverageGradient(; kwargs...)
Add an average of gradients to a gradient processor. A set of previous directions (from the
inner processor) and the last iterate are stored, average is taken after vector transporting
Expand Down
1 change: 1 addition & 0 deletions test/plans/test_defaults_factory.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ end
)
@test fdr().t == 2.0
@test fdr(Euclidean(2)).t == 2.0
@test startswith(repr(fdr), "ManifoldDefaultsFactory(FactoryDummyRule)")
end

0 comments on commit 5563c2d

Please sign in to comment.