Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
kellertuer committed Dec 2, 2024
1 parent 180fda9 commit 0bdce6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ValidationManifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ function convert(::Type{ValidationFibreVector{TType,V,Nothing}}, X::V) where {TT
end

function copyto!(M::ValidationManifold, q::ValidationMPoint, p::ValidationMPoint; kwargs...)
is_point(M, p; error = M.mode, within = copyto, context = (:Input,), kwargs...)
is_point(M, p; error = M.mode, within = copyto!, context = (:Input,), kwargs...)
copyto!(M.manifold, q.value, p.value)
is_point(M, q; error = M.mode, within = copyto, context = (:Input,), kwargs...)
is_point(M, q; error = M.mode, within = copyto!, context = (:Input,), kwargs...)
return q
end
function copyto!(
Expand All @@ -258,7 +258,7 @@ function copyto!(
X::ValidationFibreVector{TType};
kwargs...,
) where {TType}
is_point(M, p; error = M.mode, within = copyto, context = (:Input,), kwargs...)
is_point(M, p; error = M.mode, within = copyto!, context = (:Input,), kwargs...)
copyto!(M.manifold, Y.value, p.value, X.value)
return p
end
Expand Down

0 comments on commit 0bdce6c

Please sign in to comment.