File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,14 +166,14 @@ impl<DP: DependencyProvider> State<DP> {
166
166
}
167
167
}
168
168
if let Some ( incompat_id) = conflict_id {
169
- for ( p, _) in self . incompatibility_store [ incompat_id] . iter ( ) {
170
- * self . conflict_count . entry ( * p) . or_default ( ) += 1 ;
171
- }
172
169
let ( package_almost, root_cause) =
173
170
self . conflict_resolution ( incompat_id)
174
171
. map_err ( |terminal_incompat_id| {
175
172
self . build_derivation_tree ( terminal_incompat_id)
176
173
} ) ?;
174
+ for ( p, _) in self . incompatibility_store [ root_cause] . iter ( ) {
175
+ * self . conflict_count . entry ( * p) . or_default ( ) += 1 ;
176
+ }
177
177
self . unit_propagation_buffer . clear ( ) ;
178
178
self . unit_propagation_buffer . push ( package_almost) ;
179
179
// Add to the partial solution with incompat as cause.
You can’t perform that action at this time.
0 commit comments