Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Feb 23, 2024
1 parent 35204d6 commit dc4cee3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ const mgsr = ModifiedGramSchmidtIR(η₀)
const inplace = true

wrapvec(v) = MinimalVec(v; inplace)
unwrapvec(v::MinimalVec) = getindex(v)
unwrapvec(v::MinimalVec) = v.vec
wrapvec2(v) = MinimalVec(v; inplace)
unwrapvec2(v::MinimalVec) = getindex(v)
unwrapvec2(v::MinimalVec) = v.vec
wrapop(A::AbstractMatrix) = function (v, flag=Val(false))
if flag === Val(true)
return wrapvec(A' * unwrapvec2(v))
Expand Down Expand Up @@ -120,9 +120,9 @@ const mgsr = ModifiedGramSchmidtIR(η₀)
const inplace = false

wrapvec(v) = MinimalVec(v; inplace)
unwrapvec(v::MinimalVec) = getindex(v)
unwrapvec(v::MinimalVec) = v.vec
wrapvec2(v) = MinimalVec(v; inplace)
unwrapvec2(v::MinimalVec) = getindex(v)
unwrapvec2(v::MinimalVec) = v.vec
wrapop(A::AbstractMatrix) = function (v, flag=Val(false))
if flag === Val(true)
return wrapvec(A' * unwrapvec2(v))
Expand Down

0 comments on commit dc4cee3

Please sign in to comment.