Skip to content

Commit 93bb0a6

Browse files
committed
Cleaning up tests which need fixing
1 parent e036368 commit 93bb0a6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

autoarray/mask/mask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def from_fits(cls, file_path, hdu, pixel_scales, sub_size, origin=(0.0, 0.0)):
327327
def output_fits(self, file_path, overwrite=False):
328328

329329
array_util.numpy_array_2d_to_fits(
330-
array_2d=self, file_path=file_path, overwrite=overwrite
330+
array_2d=self.astype('float'), file_path=file_path, overwrite=overwrite
331331
)
332332

333333
@property

autoarray/structures/visibilities.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def manual_1d(cls, visibilities):
9292

9393
@classmethod
9494
def full(cls, fill_value, shape_1d):
95-
return cls.manual_1d(visibilities=np.full(fill_value=fill_value, shape=(shape_1d[0], 2)))
95+
return cls.manual_1d(visibilities=np.full(fill_value=fill_value, shape=(shape_1d, 2)))
9696

9797
@classmethod
9898
def ones(cls, shape_1d):

0 commit comments

Comments
 (0)