mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
floor works better
This commit is contained in:
@@ -290,7 +290,7 @@ impl AlignmentPatternFinder {
|
||||
let centerJ = Self::centerFromEnd(stateCount, j);
|
||||
let centerI = self.crossCheckVertical(
|
||||
i,
|
||||
centerJ.round() as u32,
|
||||
centerJ.floor() as u32,
|
||||
2 * stateCount[1],
|
||||
stateCountTotal,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user