1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Misc. modules/ typos (cont.)

Found via `codespell`
This commit is contained in:
luz.paz
2018-02-12 10:15:36 -05:00
parent 17233c687e
commit e805a55a5b
35 changed files with 74 additions and 74 deletions
+2 -2
View File
@@ -52,7 +52,7 @@
The code has been derived from libsvm library (version 2.6)
(http://www.csie.ntu.edu.tw/~cjlin/libsvm).
Here is the orignal copyright:
Here is the original copyright:
------------------------------------------------------------------------------------------
Copyright (c) 2000-2003 Chih-Chung Chang and Chih-Jen Lin
All rights reserved.
@@ -287,7 +287,7 @@ public:
double d = sample[k]-another[k];
double devisor = sample[k]+another[k];
/// if devisor == 0, the Chi2 distance would be zero,
// but calculation would rise an error because of deviding by zero
// but calculation would rise an error because of dividing by zero
if (devisor != 0)
{
chi2 += d*d/devisor;