Skip to content

Commit 9e7b705

Browse files
author
Benedikt Tissot
committed
use the same docstring for mutating and non mutating function
1 parent 1f434cc commit 9e7b705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ManifoldProjections.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ retract(M::Manifold, x) = retract!(M, copy(x))
2626
project_tangent(M::Manifold, g, x)
2727
Return the projection of the given vector `g` into the tangent space on the Manifold `M` around the point `x` (assumed to lie on `M`).
2828
"""
29+
function project_tangent!(M::Manifold, g, x) end,
2930
project_tangent(M::Manifold, g, x) = project_tangent!(M, copy(g), x)
30-
function project_tangent!(M::Manifold, g, x) end
3131

3232
# Fake objective function implementing a retraction
3333
mutable struct ManifoldObjective{T<:NLSolversBase.AbstractObjective} <: NLSolversBase.AbstractObjective

0 commit comments

Comments
 (0)