From 0bdce6c5c1cbae39aa3b50b29507e58d848cf72c Mon Sep 17 00:00:00 2001 From: Ronny Bergmann Date: Mon, 2 Dec 2024 08:50:31 +0100 Subject: [PATCH] Fix tests. --- src/ValidationManifold.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ValidationManifold.jl b/src/ValidationManifold.jl index 0ed44b19..9baa9ba0 100644 --- a/src/ValidationManifold.jl +++ b/src/ValidationManifold.jl @@ -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!( @@ -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