mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-06-30 16:59:27 +02:00
fix: Bug in export of derivative of correlator containing covobs fixed,
test added.
This commit is contained in:
parent
7568275d5d
commit
471eabeb8c
2 changed files with 12 additions and 0 deletions
|
@ -171,6 +171,9 @@ def create_json_string(ol, description='', indent=1):
|
|||
names.append(key)
|
||||
idl.append(value)
|
||||
my_obs = Obs(samples, names, idl)
|
||||
my_obs._covobs = obs._covobs
|
||||
for name in obs._covobs:
|
||||
my_obs.names.append(name)
|
||||
my_obs.reweighted = obs.reweighted
|
||||
my_obs.is_merged = obs.is_merged
|
||||
return my_obs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue