Skip to content

Commit

Permalink
revised tangent map for mother space
Browse files Browse the repository at this point in the history
  • Loading branch information
chakravala committed Sep 22, 2019
1 parent 60c0e27 commit 9df2073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DirectSum.jl
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ end
(hi || ho) || (d0 && count_ones(A&v)+count_ones(B&v)>diffmode(V))
end

@pure tangent(s::Signature{N,M,S,F,D},d::Int=1,f::Int=F0 ? F : 1) where {N,M,S,F,D} = Signature{N+f,M,S,f,D+d}()
@pure tangent(s::DiagonalForm{N,M,S,F,D},d::Int=1,f::Int=F0 ? F : 1) where {N,M,S,F,D} = DiagonalForm{N+f,M,S,f,D+d}()
@pure tangent(s::Signature{N,M,S,F,D},d::Int=1,f::Int=F0 ? F : 1) where {N,M,S,F,D} = Signature{N+(mixedmode(s)<0 ? 2f : f),M,S,f,D+d}()
@pure tangent(s::DiagonalForm{N,M,S,F,D},d::Int=1,f::Int=F0 ? F : 1) where {N,M,S,F,D} = DiagonalForm{N+(mixedmode(s)<0 ? 2f : f),M,S,f,D+d}()

export metric

Expand Down

0 comments on commit 9df2073

Please sign in to comment.