Test failures with corelib-1.1.2 release

Hi Laure,

today I installed the MPDAF corelib for the first time in months, on a Xubuntu installation. I got a few test failures when running the tests:

Image class: tests Moffat fit ... /usr/local/src/corelib-1.1.2/lib/mpdaf/obj/image.py:2633: RuntimeWarning: invalid value encountered in double_scalars
  err_fwhm = np.array([err_fwhm,err_fwhm/err_e])
ok
[...]
Spectrum class: tests polynomial fit ... The fit may be poorly conditioned
ok
[...]
======================================================================
ERROR: Image class: tests peak research
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "tests/obj/test_image.py", line 222, in test_peak_Image
    nose.tools.assert_almost_equal(p['p'],793.3,0.1)
  File "/usr/lib/python2.7/unittest/case.py", line 557, in assertAlmostEqual
    if round(abs(second-first), places) == 0:
TypeError: 'float' object cannot be interpreted as an index

The full log is attached.

Relevant installed packages are:

ii  python-nose         1.1.2-3ubuntu4 all            test discovery and running of Python's unitt
ii  python-numpy        1:1.7.1-1ubunt amd64          Numerical Python adds a fast array facility 
ii  python-pyfits       1:3.1-1        amd64          Python module for reading, writing, and mani
ii  python-scipy        0.11.0+dfsg1-1 amd64          scientific tools for Python

Cheers, Peter.