mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
irregular idl stored as np.array instead of list in order to save memory
This commit is contained in:
parent
9039d1ad6f
commit
6cf478fb57
1 changed files with 1 additions and 1 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] = list(idx)
|
||||
self.idl[name] = np.array(idx)
|
||||
else:
|
||||
raise Exception('incompatible type for idl[%s].' % (name))
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue