Skip to content

Commit

Permalink
fixed minor syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chakravala committed Sep 30, 2024
1 parent 5e36bd5 commit 625c0c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/algebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ function ⟑(a::Submanifold{V},b::Single{V}) where V
end
function wedgedot_metric(a::Single{V},b::Submanifold{V},g) where V
v = derive_mul(V,UInt(basis(a)),UInt(b),a.v,true)
bas = mul(basis(a),b,g,v)
bas = mul_metric(basis(a),b,g,v)
order(a.v)+order(bas)>diffmode(V) ? Zero(V) : v*bas
end
function wedgedot_metric(a::Submanifold{V},b::Single{V},g) where V
v = derive_mul(V,UInt(a),UInt(basis(b)),b.v,false)
bas = mul(a,basis(b),g,v)
bas = mul_metric(a,basis(b),g,v)
order(b.v)+order(bas)>diffmode(V) ? Zero(V) : v*bas
end

Expand Down
2 changes: 2 additions & 0 deletions src/multivectors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,8 @@ for (eq,qe) ∈ ((:(Base.:(==)),:equal), (:(Base.isapprox),:(Base.isapprox)))
end
end

realvalue(z::Complex) = z.re
imagvalue(z::Complex) = z.im
for couple (:Couple,:PseudoCouple)
@eval begin
export $couple
Expand Down

0 comments on commit 625c0c9

Please sign in to comment.