Adjusting implementations of traits for interval sets and resource intervals
This commit is contained in:
parent
9cd2be5255
commit
3031ab8767
+1
-1
@@ -157,7 +157,7 @@ impl Task {
|
||||
)]));
|
||||
self.provides.iter().all(|res| {
|
||||
if let Some(is) = available.get(res) {
|
||||
!(&horizon_is - is).is_empty()
|
||||
!(horizon_is.difference(is)).is_empty()
|
||||
} else {
|
||||
false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user