Fix compilation issue with clang

6 jobs for master in 570 minutes and 18 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
failed #3906
amd64
job_clang_amd64

09:16:07

passed #3910
amd64
job_clang_amd64_nosh

09:30:15

failed #3908
amd64
job_clang_py2_amd64

07:41:54

failed #3905
amd64
job_gcc_amd64

06:51:00

failed #3909
amd64
job_gcc_amd64_nosh

07:39:51

failed #3907
amd64
job_gcc_py2_amd64

04:39:44

 
Name Stage Failure
failed
job_clang_amd64 Test
<string>:53: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
<string>:53: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
<string>:53: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
<string>:53: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
<string>:53: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
<string>:53: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
<string>:53: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
<string>:53: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
ERROR: Job failed: exit status 1
failed
job_clang_py2_amd64 Test
$ export PYTHONPATH=$PWD/install/site-packages
$ cd doc; python2 /usr/bin/sphinx-build2 -b doctest . build *.rst
Running Sphinx v1.8.5
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

Configuration error:
There is a syntax error in your configuration file: invalid syntax (uncertain_blockmodel.py, line 1011)
ERROR: Job failed: exit status 1
failed
job_gcc_amd64_nosh Test
Doctest summary
===============
1178 tests
3 failures in tests
0 failures in setup code
0 failures in cleanup code
build finished with problems, 19 warnings.
<string>:53: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
ERROR: Job failed: exit status 1
failed
job_gcc_amd64 Test
/var/lib/gitlab-runner/builds/c098b1de/0/count0/graph-tool/doc/price.py:94: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
figure(figsize=(6,4))
/var/lib/gitlab-runner/builds/c098b1de/0/count0/graph-tool/doc/price.py:104: UserWarning: tight_layout : falling back to Agg renderer
tight_layout()
<string>:53: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
<string>:53: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
<string>:1: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
<string>:53: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
ERROR: Job failed: exit status 1
failed
job_gcc_py2_amd64 Test
$ export PYTHONPATH=$PWD/install/site-packages
$ cd doc; python2 /usr/bin/sphinx-build2 -b doctest . build *.rst demos/inference/inference.rst
Running Sphinx v1.8.5
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused

Configuration error:
There is a syntax error in your configuration file: invalid syntax (uncertain_blockmodel.py, line 1011)
ERROR: Job failed: exit status 1