refactor: Lint
This commit is contained in:
parent
2bc561535a
commit
b8aae5ac3f
1 changed files with 2 additions and 1 deletions
|
@ -125,7 +125,8 @@ def halfEdgeType {n : ℕ} {c : Fin n → 𝓔} : FeynmanTree c → Type := fun
|
|||
| join _ _ _ t => t.halfEdgeType
|
||||
|
||||
/-- The map taking each half-edge to it's associated vertex. -/
|
||||
def halfEdgeToVertex {n : ℕ} {c : Fin n → 𝓔} : (T : FeynmanTree c) → T.halfEdgeType → T.vertexType := fun
|
||||
def halfEdgeToVertex {n : ℕ} {c : Fin n → 𝓔} : (T : FeynmanTree c) →
|
||||
T.halfEdgeType → T.vertexType := fun
|
||||
| vertex v => fun _ => ()
|
||||
| union t1 t2 => Sum.map t1.halfEdgeToVertex t2.halfEdgeToVertex
|
||||
| join _ _ _ t => t.halfEdgeToVertex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue