Skip to content

Commit 48d70ea

Browse files
committed
Fix: No intersect for Skylake
1 parent 4bec1e5 commit 48d70ea

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

c/lib.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ SZ_DYNAMIC void sz_dispatch_table_init(void) {
298298
impl->bytesum = sz_bytesum_skylake;
299299

300300
impl->sequence_argsort = sz_sequence_argsort_skylake;
301-
impl->sequence_intersect = sz_sequence_intersect_skylake;
302301
impl->pgrams_sort = sz_pgrams_sort_skylake;
303302
}
304303
#endif
@@ -319,6 +318,8 @@ SZ_DYNAMIC void sz_dispatch_table_init(void) {
319318
impl->hash_state_stream = sz_hash_state_stream_ice;
320319
impl->hash_state_fold = sz_hash_state_fold_ice;
321320
impl->fill_random = sz_fill_random_ice;
321+
322+
impl->sequence_intersect = sz_sequence_intersect_ice;
322323
}
323324
#endif
324325

include/stringzilla/intersect.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ extern "C" {
5858
* Example usage:
5959
*
6060
* @code{.c}
61-
* #include <stringzilla/join.h>
61+
* #include <stringzilla/intersect.h>
6262
* int main() {
6363
* char const *first[] = {"banana", "apple", "cherry"};
6464
* char const *second[] = {"cherry", "orange", "pineapple", "banana"};

0 commit comments

Comments
 (0)