Skip to content

Commit

Permalink
And further text coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Dec 12, 2023
1 parent c9c3f34 commit c60fa5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/helpers/test_manifold_extra_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Random.seed!(42)
@test mid_point(M, p, q, 1.0) π / 2
@test mid_point(M, p, q, -1.0) -π / 2
@test mid_point(M, 0, π / 2) π / 4
# Without being too far away -> classical mid point
@test mid_point(M, 0, 0.1, π / 2) == mid_point(M, 0, 0.1)
end

@testset "max_stepsize" begin
Expand Down
3 changes: 2 additions & 1 deletion tutorials/StochasticGradientDescent.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ Pkg.activate("."); # for reproducibility use the local tutorial environment.
```

```{julia}
using Manifolds, Manopt, Random, BenchmarkTools
using Manifolds, Manopt, Random, BenchmarkTools, ManifoldDiff
using ManifoldDiff: grad_distance
Random.seed!(42);
```

Expand Down

0 comments on commit c60fa5c

Please sign in to comment.