Skip to content

Commit

Permalink
Issue #316
Browse files Browse the repository at this point in the history
  • Loading branch information
dfcaporale committed Aug 31, 2020
1 parent d10e0b7 commit 43fbd13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Flowpipes/flowpipes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ function linear_map(M::AbstractMatrix, fp::Flowpipe)
end

"""
shift(fp::Flowpipe{N, ReachSet{N, ST}}, t0::Number) where {N, ST}
shift(fp::Flowpipe{N, <:AbstractReachSet}, t0::Number) where {N}
Return the time-shifted flowpipe by the given number.
Expand All @@ -387,7 +387,7 @@ shifted by `t0`.
See also `Shift` for the lazy counterpart.
"""
function shift(fp::Flowpipe{N, ReachSet{N, ST}}, t0::Number) where {N, ST}
function shift(fp::Flowpipe{N, <:AbstractReachSet}, t0::Number) where {N}
return Flowpipe([shift(X, t0) for X in array(fp)], fp.ext)
end

Expand Down

0 comments on commit 43fbd13

Please sign in to comment.