Skip to content

Commit 6fcda26

Browse files
Update src/ClusterSequence.jl
Ensure that jet and ClusterSequence have the same type Co-authored-by: Mateusz Jakub Fila <[email protected]>
1 parent aa9f033 commit 6fcda26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ClusterSequence.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ function has_parents(p::FourMomentum,
638638
end
639639

640640
"""
641-
parent_jets(jet::T, cs::ClusterSequence)::Tuple{Union{Nothing, T}, Union{Nothing, T}} where {T <: FourMomentum}
641+
parent_jets(jet::T, cs::ClusterSequence{T})::Tuple{Union{Nothing, T}, Union{Nothing, T}} where {T <: FourMomentum}
642642
643643
Find the parent jets of a given jet in a cluster sequence.
644644
@@ -651,7 +651,7 @@ A tuple of two elements, each of which is either the parent jet object or
651651
`nothing` (if the jet has no parent).
652652
"""
653653
function parent_jets(jet::T,
654-
cs::ClusterSequence)::Tuple{Union{Nothing, T},
654+
cs::ClusterSequence{T})::Tuple{Union{Nothing, T},
655655
Union{Nothing, T}} where {T <:
656656
FourMomentum}
657657
hist_idx = jet._cluster_hist_index

0 commit comments

Comments
 (0)