Skip to content
Snippets Groups Projects
Commit 4905bf77 authored by Tobias Pietzsch's avatar Tobias Pietzsch
Browse files

bugfix in Partition.contains().

parent 90124e84
Branches
Tags
No related merge requests found
......@@ -185,13 +185,13 @@ public class Partition
if ( timepoint < t0 )
return false;
final int t1 = t0 + timepointLength;
if ( timepoint >= t0 )
if ( timepoint >= t1 )
return false;
final int s0 = setupOffset + setupStart;
if ( setup < s0 )
return false;
final int s1 = s0 + setupLength;
if ( setup >= s0 )
if ( setup >= s1 )
return false;
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment