mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 12:03:42 +02:00
reverted idl storage to list, added simple test for irregular error
propagation
This commit is contained in:
parent
6cf478fb57
commit
8ceee688ec
2 changed files with 14 additions and 9 deletions
|
@ -78,7 +78,7 @@ class Obs:
|
|||
if len(dc) == 1:
|
||||
self.idl[name] = range(idx[0], idx[-1] + dc[0], dc[0])
|
||||
else:
|
||||
self.idl[name] = np.array(idx)
|
||||
self.idl[name] = list(idx)
|
||||
else:
|
||||
raise Exception('incompatible type for idl[%s].' % (name))
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue