From abb2084029a15ac6bfb07c049f51cd6841dd1127 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Wed, 27 Dec 2023 20:44:37 +0100 Subject: [PATCH] Move to i32 --- schemsearch-lib/src/compare.c | 1 + schemsearch-lib/src/lib.rs | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/schemsearch-lib/src/compare.c b/schemsearch-lib/src/compare.c index 2bb64be..847b128 100644 --- a/schemsearch-lib/src/compare.c +++ b/schemsearch-lib/src/compare.c @@ -1,4 +1,5 @@ #include +#include int32_t isMatching( const int32_t *schem_data, diff --git a/schemsearch-lib/src/lib.rs b/schemsearch-lib/src/lib.rs index ee31ade..13a7d4e 100644 --- a/schemsearch-lib/src/lib.rs +++ b/schemsearch-lib/src/lib.rs @@ -159,8 +159,6 @@ pub fn search( ); } - dbg!(result.clone()); - result.into_iter().enumerate().filter(|(_, matching_count)| *matching_count >= i_pattern_blocks - skip_amount).for_each(|(i, matching_count)| { let percent = matching_count as f32 / pattern_blocks; let x = i % schem_width;