Skip to content

Commit

Permalink
fix missing kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Dec 13, 2024
1 parent cb84560 commit 9707392
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/spaces/productspace.jl
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ More specifically, adds a left monoidal unit or its dual.
See also [`insertrightunit`](@ref), [`removeunit`](@ref).
"""
function insertleftunit(P::ProductSpace, i::Int=length(P) + 1; kwargs...)
function insertleftunit(P::ProductSpace, i::Int=length(P) + 1;
conj::Bool=false, dual::Bool=false)
u = oneunit(spacetype(P))
if dual
u = TensorKit.dual(u)
Expand All @@ -272,7 +273,8 @@ More specifically, adds a right monoidal unit or its dual.
See also [`insertleftunit`](@ref), [`removeunit`](@ref).
"""
function insertrightunit(P::ProductSpace, i::Int=length(P); kwargs...)
function insertrightunit(P::ProductSpace, i::Int=length(P);
conj::Bool=false, dual::Bool=false)
u = oneunit(spacetype(P))
if dual
u = TensorKit.dual(u)
Expand Down

0 comments on commit 9707392

Please sign in to comment.