Skip to content

Commit

Permalink
fix two within
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszbaran committed Dec 9, 2024
1 parent 44c4b8a commit 51dbfa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ValidationManifold.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 51dbfa6

Please sign in to comment.