diff --git a/src/plans/gradient_plan.jl b/src/plans/gradient_plan.jl index 64c57ce2c3..f7eb788e95 100644 --- a/src/plans/gradient_plan.jl +++ b/src/plans/gradient_plan.jl @@ -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 diff --git a/test/plans/test_defaults_factory.jl b/test/plans/test_defaults_factory.jl index 409ab128a7..3b8044f5aa 100644 --- a/test/plans/test_defaults_factory.jl +++ b/test/plans/test_defaults_factory.jl @@ -12,4 +12,5 @@ end ) @test fdr().t == 2.0 @test fdr(Euclidean(2)).t == 2.0 + @test startswith(repr(fdr), "ManifoldDefaultsFactory(FactoryDummyRule)") end