jyujin/libefgy — pull request #3 by dawehner (2014-01-03 23:51:43+00:00)
Title: Chi square

The test pass, though clang has a warning I don't really get.
```
include/ef.gy/statistics.h:122:26: warning: inequality comparison result unused [-Wunused-comparison]
for (; begin != end, measurement_begin != measurement_end; ++begin, ++measurement_begin)
~~~~~~^~~~~~
include/ef.gy/statistics.h:133:19: note: in instantiation of function template specialization 'efgy::statistics::chi_square > > >' requested here
return chi_square(values.begin(), values.end(), measurements.begin(), measurements.end());
^
src/test-case/statistics.cpp:107:17: note: in instantiation of function template specialization 'efgy::statistics::chi_square' requested
here
auto chi0 = chi_square(v8, v8_measurement);
^
include/ef.gy/statistics.h:122:26: note: use '|=' to turn this inequality comparison into an or-assignment
for (; begin != end, measurement_begin != measurement_end; ++begin, ++measurement_begin)
```

#2