Skip to content

Commit fd753ab

Browse files
committed
minor fix
1 parent 0951113 commit fd753ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyobs/IO/bdio.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ def save(fname, *args):
478478
a.size == 1, "Only single observables can be stored in bdio format"
479479
)
480480
pyobs.assertion(
481-
numpy.iscomplex.obj(a.mean) is False,
481+
numpy.iscomplexobj(a.mean) is False,
482482
"Complex observables not supported",
483483
)
484484
encode_bdio_observable(f, a)

0 commit comments

Comments
 (0)