small changes

This commit is contained in:
Henry
2022-10-10 19:46:10 -05:00
parent 9b47d53f4b
commit 8d22eacad0
5 changed files with 32 additions and 30 deletions

View File

@@ -234,7 +234,7 @@ impl FinderPatternFinder {
}
totalModuleSize += count;
}
if (totalModuleSize < 7) {
if totalModuleSize < 7 {
return false;
}
let moduleSize = totalModuleSize as f32 / 7.0;