@@ -674,7 +674,6 @@ static ALWAYS_INLINE uint16_t
674
674
uint16_t const vertex ) {
675
675
push_conditions (
676
676
CONDITIONS , depth , vertex , GRAPH2 -> neighbours [MAP [last_defined ]]);
677
- set_bit_array (get_conditions (CONDITIONS , vertex ), MAP [last_defined ], false);
678
677
store_size_conditions (CONDITIONS , vertex );
679
678
return size_conditions (CONDITIONS , vertex );
680
679
}
@@ -758,6 +757,7 @@ static void find_graph_monos(uint16_t depth,
758
757
copy_bit_array (
759
758
possible , get_conditions (CONDITIONS , next ), GRAPH2 -> nr_vertices );
760
759
intersect_bit_arrays (possible , REPS [rep_depth ], GRAPH2 -> nr_vertices );
760
+ complement_bit_arrays (possible , VALS , GRAPH2 -> nr_vertices );
761
761
FOR_SET_BITS (possible , GRAPH2 -> nr_vertices , i ) {
762
762
MAP [next ] = i ;
763
763
set_bit_array (VALS , i , true);
@@ -1201,7 +1201,6 @@ static ALWAYS_INLINE uint16_t
1201
1201
uint16_t const last_defined ,
1202
1202
uint16_t const vertex ) {
1203
1203
push_conditions (CONDITIONS , depth , vertex , NULL );
1204
- set_bit_array (get_conditions (CONDITIONS , vertex ), MAP [last_defined ], false);
1205
1204
if (is_adjacent_digraph (DIGRAPH1 , last_defined , vertex )) {
1206
1205
intersect_bit_arrays (get_conditions (CONDITIONS , vertex ),
1207
1206
DIGRAPH2 -> out_neighbours [MAP [last_defined ]],
@@ -1283,6 +1282,7 @@ static void find_digraph_monos(uint16_t depth,
1283
1282
copy_bit_array (
1284
1283
possible , get_conditions (CONDITIONS , next ), DIGRAPH2 -> nr_vertices );
1285
1284
intersect_bit_arrays (possible , REPS [rep_depth ], DIGRAPH2 -> nr_vertices );
1285
+ complement_bit_arrays (possible , VALS , DIGRAPH2 -> nr_vertices );
1286
1286
FOR_SET_BITS (possible , DIGRAPH2 -> nr_vertices , i ) {
1287
1287
MAP [next ] = i ;
1288
1288
set_bit_array (VALS , i , true);
0 commit comments