1
0
Mirror von https://github.com/Chaoscaot/schemsearch synchronisiert 2024-07-01 08:38:05 +02:00
Dieser Commit ist enthalten in:
Chaoscaot 2023-12-27 20:44:37 +01:00
Ursprung 3eba89b119
Commit abb2084029
2 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

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