summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ipa/rkisp1/algorithms/awb.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ipa/rkisp1/algorithms/awb.cpp b/src/ipa/rkisp1/algorithms/awb.cpp
index 51c49ba9..3d6737df 100644
--- a/src/ipa/rkisp1/algorithms/awb.cpp
+++ b/src/ipa/rkisp1/algorithms/awb.cpp
@@ -55,9 +55,9 @@ public:
double computeColourError(const RGB<double> &gains) const override
{
/*
- * Compute the sum of the squared colour error (non-greyness) as it
- * appears in the log likelihood equation.
- */
+ * Compute the sum of the squared colour error (non-greyness) as
+ * it appears in the log likelihood equation.
+ */
double deltaR = gains.r() * rg_ - 1.0;
double deltaB = gains.b() * bg_ - 1.0;
double delta2 = deltaR * deltaR + deltaB * deltaB;