[Fix] Fix further mutable default arguments and smaller issues.

This commit is contained in:
Fabian Joswig 2024-12-24 17:34:06 +01:00
parent 668fa62793
commit 4089238ddd
9 changed files with 44 additions and 28 deletions

View file

@ -174,7 +174,7 @@ def gen_correlated_data(means, cov, name, tau=0.5, samples=1000):
return [Obs([dat], [name]) for dat in corr_data.T]
def _assert_equal_properties(ol, otype=Obs):
def _assert_equal_properties(ol):
otype = type(ol[0])
for o in ol[1:]:
if not isinstance(o, otype):