Skip to content

Commit

Permalink
Remove cast chaining
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromxavier committed Apr 13, 2023
1 parent 7142759 commit 2e31ddf
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/interface/generic/cast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,3 @@ function cast(

return (L, Q, α, β)
end

# -* Chain *- #
function cast(
sense_route::Pair{A,B},
domain_route::Pair{X,Y},
data...,
) where {A<:Sense,B<:Sense,X<:Domain,Y<:Domain}
return cast(sense_route, cast(domain_route, data...)...)
end

0 comments on commit 2e31ddf

Please sign in to comment.