mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
feat: Improve str conversion of numpy.ndarrays containing pyerrors Obs.
This commit is contained in:
parent
fc3657be11
commit
d7628b69d1
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,9 @@ import numdifftools as nd
|
|||
from itertools import groupby
|
||||
from .covobs import Covobs
|
||||
|
||||
# Improve print output of numpy.ndarrays containing Obs objects.
|
||||
np.set_printoptions(formatter={'object': lambda x: str(x)})
|
||||
|
||||
|
||||
class Obs:
|
||||
"""Class for a general observable.
|
||||
|
|
Loading…
Add table
Reference in a new issue