Bug#702447: libvigraimpex: typo: choosen -> chosen
Please see the attached patch.
@@ -387,7 +387,7 @@
/* when sampling k times without replacement
the probability p of a sample not being picked is ((k-1)/k)^k
- The distribution of the number of samples not being choosen is a
+ The distribution of the number of samples not being chosen is a
binomial distribution with n = k and p = ((k-1)/k)^k.
The expectation value of a binomial distribution is n*p ==>
The percentage of samples not used is (n*p)/k = p
@@ -102,7 +102,7 @@
The return type of this function can not be 'unsigned char' because
the summation would very likely overflow. Since we know the source
type, we can easily choose 'int' as an appropriate return type.
- Likewise, we would have choosen 'float' if we had to sum a
+ Likewise, we would have chosen 'float' if we had to sum a
sequence of floats. If we want to make this
algorithm generic, we would like to derive the appropriate return
type automatically. This can be done with NumericTraits.