As it stands, passing an array to the error keyword in the Data class doesn't work, as checks if error == 0:. This fails if error is an array of the same length of values.
A simple fix for this is to check if error has a size of 1, which is also equal to zero. The size check is actually done later at L187 of data.py, but the code will fail before getting to that point.
As it stands, passing an array to the
error
keyword in theData
class doesn't work, as checksif error == 0:
. This fails iferror
is an array of the same length ofvalues
.A simple fix for this is to check if error has a size of 1, which is also equal to zero. The size check is actually done later at L187 of data.py, but the code will fail before getting to that point.