Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jammy2211 committed May 3, 2022
1 parent 31d8785 commit d9b2811
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
# PyAutoArray
A library for manipulating arrays within the PyAuto software framework

6 changes: 5 additions & 1 deletion test_autoarray/inversion/mappers/test_abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,11 @@ def test__mapped_to_source_from(grid_2d_7x7):
source_grid_slim=grid_2d_7x7, source_pixelization_grid=pixelization_grid
)

array_slim = np.array([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0])
array_slim = aa.Array2D.manual_slim(
[1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0],
shape_native=(3, 3),
pixel_scales=1.0,
)

mapped_to_source_util = aa.util.mapper.mapped_to_source_via_mapping_matrix_from(
mapping_matrix=mapper.mapping_matrix, array_slim=array_slim
Expand Down

0 comments on commit d9b2811

Please sign in to comment.