From 25d6774269e41bd2959413757a06ec24afc9519b Mon Sep 17 00:00:00 2001 From: Matteo Bachetti Date: Tue, 19 Sep 2023 19:30:31 +0200 Subject: [PATCH] Update stingray/base.py --- stingray/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stingray/base.py b/stingray/base.py index 4d6812c4d..68763cc00 100644 --- a/stingray/base.py +++ b/stingray/base.py @@ -535,7 +535,7 @@ def write(self, filename: str, fmt: str = None) -> None: fmt = "ascii.ecsv" try: - Table({"a": np.longdouble(3)}).write(f".bu.{fmt}", overwrite=True) + Table({"a": [np.longdouble(3)]}).write(f".bu.{fmt}", overwrite=True) CAN_SAVE_LONGD = True except ValueError as e: if not "float128" in str(e): # pragma: no cover