Fix bug in sampled distance histogram

9 jobs for master
Status Job ID Name Coverage
  Test
passed #899
amd64
job_clang_amd64

02:50:25

passed #904
amd64
job_clang_amd64_nosh

03:07:49

passed #901
amd64
job_clang_py2_amd64

02:55:39

failed #896
i386
job_gcc_386

00:00:52

passed #898
amd64
job_gcc_amd64

02:11:58

passed #902
amd64
job_gcc_amd64_nosh

02:05:57

failed #897
i386
job_gcc_py2_386

02:34:04

passed #900
amd64
job_gcc_py2_amd64

01:58:02

passed #903
amd64
job_clang_amd64_nosh

02:52:51

 
Name Stage Failure
failed
job_gcc_py2_386 Test There is an unknown failure, please try again
Doctest summary
===============
860 tests
1 failure in tests
0 failures in setup code
0 failures in cleanup code
build finished with problems, 137 warnings.

ERROR: Build failed with: exit status 1
failed
job_gcc_386 Test There is an unknown failure, please try again
checking for CGAL/version.h... yes
checking for CAIROMM... yes
checking python3.4 module: cairo... yes
checking pycairo/py3cairo.h usability... no
checking pycairo/py3cairo.h presence... no
checking for pycairo/py3cairo.h... no
configure: error: pycairo headers not found

ERROR: Build failed with: exit status 1