diff options
Diffstat (limited to 'silx/gui/fit/BackgroundWidget.py')
-rw-r--r-- | silx/gui/fit/BackgroundWidget.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/silx/gui/fit/BackgroundWidget.py b/silx/gui/fit/BackgroundWidget.py index 2171e87..76bc043 100644 --- a/silx/gui/fit/BackgroundWidget.py +++ b/silx/gui/fit/BackgroundWidget.py @@ -1,6 +1,6 @@ # coding: utf-8 #/*########################################################################## -# Copyright (C) 2004-2017 V.A. Sole, European Synchrotron Radiation Facility +# Copyright (C) 2004-2020 V.A. Sole, European Synchrotron Radiation Facility # # This file is part of the PyMca X-ray Fluorescence Toolkit developed at # the ESRF by the Software group. @@ -337,7 +337,7 @@ class BackgroundWidget(qt.QWidget): pars = self.getParameters() # smoothed data - y = numpy.ravel(numpy.array(self._y)).astype(numpy.float) + y = numpy.ravel(numpy.array(self._y)).astype(numpy.float64) if pars["SmoothingFlag"]: ysmooth = filters.savitsky_golay(y, pars['SmoothingWidth']) f = [0.25, 0.5, 0.25] |