Skip to content
Snippets Groups Projects
Commit 10e3a7a0 authored by Mark Penney's avatar Mark Penney
Browse files

Update Intervals_Model.py

parent 9a021861
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ def IntSample(N, Sparam, durlist):
# A function that takes an interval and returns the set of timesteps contained in it
def Coverage(S,E):
if S==E:
return set(S)
return set([S])
elif E < S:
SUP = [i for i in range(S, Durmax-1,1)]
EDOWN = [i for i in range(0, E+1)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment