still a couple tabs and trailing whitespaces...
This commit is contained in:
@@ -1060,7 +1060,6 @@ float estimateU(const Mat_<float>& v1, const Mat_<float>& v2, const Mat_<float>&
|
|||||||
u1Row[x] = v1Row[x] + theta * divP1Row[x];
|
u1Row[x] = v1Row[x] + theta * divP1Row[x];
|
||||||
u2Row[x] = v2Row[x] + theta * divP2Row[x];
|
u2Row[x] = v2Row[x] + theta * divP2Row[x];
|
||||||
if (use_gamma) u3Row[x] = v3Row[x] + theta * divP3Row[x];
|
if (use_gamma) u3Row[x] = v3Row[x] + theta * divP3Row[x];
|
||||||
|
|
||||||
error += use_gamma?(u1Row[x] - u1k) * (u1Row[x] - u1k) + (u2Row[x] - u2k) * (u2Row[x] - u2k) + (u3Row[x] - u3k) * (u3Row[x] - u3k):
|
error += use_gamma?(u1Row[x] - u1k) * (u1Row[x] - u1k) + (u2Row[x] - u2k) * (u2Row[x] - u2k) + (u3Row[x] - u3k) * (u3Row[x] - u3k):
|
||||||
(u1Row[x] - u1k) * (u1Row[x] - u1k) + (u2Row[x] - u2k) * (u2Row[x] - u2k);
|
(u1Row[x] - u1k) * (u1Row[x] - u1k) + (u2Row[x] - u2k) * (u2Row[x] - u2k);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user