mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
detection_result builds
This commit is contained in:
@@ -214,7 +214,6 @@ impl GlobalHistogramBinarizer {
|
||||
|
||||
// Make sure firstPeak corresponds to the black peak.
|
||||
if firstPeak > secondPeak {
|
||||
|
||||
std::mem::swap(&mut firstPeak, &mut secondPeak);
|
||||
}
|
||||
|
||||
|
||||
@@ -154,7 +154,7 @@ impl GenericGFPoly {
|
||||
let mut smallerCoefficients = self.coefficients.clone();
|
||||
let mut largerCoefficients = other.coefficients.clone();
|
||||
if smallerCoefficients.len() > largerCoefficients.len() {
|
||||
std::mem::swap(&mut smallerCoefficients,&mut largerCoefficients)
|
||||
std::mem::swap(&mut smallerCoefficients, &mut largerCoefficients)
|
||||
}
|
||||
|
||||
let mut sumDiff = vec![0; largerCoefficients.len()];
|
||||
|
||||
Reference in New Issue
Block a user