Skip to content

Commit

Permalink
enhanced type stability
Browse files Browse the repository at this point in the history
  • Loading branch information
chakravala committed Oct 2, 2024
1 parent d79513c commit 333c8d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Grassmann"
uuid = "4df31cd9-4c27-5bea-88d0-e6a7146666d8"
authors = ["Michael Reed"]
version = "0.8.24"
version = "0.8.25"

[deps]
AbstractTensors = "a8e43f4a-99b7-5565-8bf1-0165161caaea"
Expand Down
2 changes: 1 addition & 1 deletion src/algebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Geometric algebraic product: ω⊖η = (-1)ᵖdet(ω∩η)⊗(Λ(ω⊖η)∪L(ω
@pure function mul(a::Submanifold{V},b::Submanifold{V},der=derive_mul(V,UInt(a),UInt(b),1,true)) where V
if isdiag(V)
ba,bb = UInt(a),UInt(b)
(diffcheck(V,ba,bb) || iszero(der)) && (return Zero(V))
istangent(V) && (diffcheck(V,ba,bb) || iszero(der)) && (return Zero(V))
A,B,Q,Z = symmetricmask(V,ba,bb)
d = getbasis(V,(AB)|Q)
out = if typeof(V)<:Signature || count_ones(A&B)==0
Expand Down

0 comments on commit 333c8d4

Please sign in to comment.