diff --git a/src/ValidationManifold.jl b/src/ValidationManifold.jl index fc83db92..94b8213a 100644 --- a/src/ValidationManifold.jl +++ b/src/ValidationManifold.jl @@ -522,7 +522,7 @@ function get_vector(M::ValidationManifold, p, c, B::AbstractBasis; kwargs...) ArgumentError( "Incorrect size of coefficient vector X ($(size(c))), expected $(manifold_dimension(M)).", ); - within = get_basis, + within = get_vector, context = (:Input,), ) end @@ -539,7 +539,7 @@ function get_vector!(M::ValidationManifold, Y, p, c, B::AbstractBasis; kwargs... ArgumentError( "Incorrect size of coefficient vector X ($(size(c))), expected $(manifold_dimension(M)).", ); - within = get_basis, + within = get_vector, context = (:Input,), ) end