Move to i32

This commit is contained in:
2023-12-27 20:44:37 +01:00
parent 3eba89b119
commit abb2084029
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,5 @@
#include <stdint.h>
#include <stddef.h>
int32_t isMatching(
const int32_t *schem_data,

View File

@ -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;