We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bba1abb commit e3a6527Copy full SHA for e3a6527
pumpkin-solver/src/propagators/nogoods/nogood_propagator.rs
@@ -1328,6 +1328,13 @@ impl NogoodPropagator {
1328
// This is an inefficient implementation for testing purposes
1329
let nogood = &self.nogoods[nogood_id];
1330
1331
+ if nogood.is_deleted {
1332
+ // The nogood has already been deleted, meaning that it could be that the call to
1333
+ // `propagate` would not find any propagations using it due to the watchers being
1334
+ // deleted
1335
+ return Ok(());
1336
+ }
1337
+
1338
// First we get the number of falsified predicates
1339
let has_falsified_predicate = nogood
1340
.predicates
0 commit comments