Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/PyMca5/PyMcaMath/fitting/StackSimpleFit.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# The PyMca X-Ray Fluorescence Toolkit
#
# Copyright (c) 2004-2023 European Synchrotron Radiation Facility
# Copyright (c) 2004-2026 European Synchrotron Radiation Facility
#
# This file is part of the PyMca X-ray Fluorescence Toolkit developed at
# the ESRF by the Software group.
Expand Down Expand Up @@ -288,7 +288,7 @@ def getFitInputValues(self, index):
elif sigmaSize == y.size:
#only one sigma for all the y values
sigma = numpy.zeros(y.size, numpy.float64)
sgima[:] = self.stack_sigma[:]
sigma[:] = self.stack_sigma[:]
sigma = sigma.reshape(*y.shape)
else:
raise ValueError("Cannot handle incompatible sigma and y values")
Expand Down