Skip to content

Commit

Permalink
Limit mode solver pytest to first 20 modes
Browse files Browse the repository at this point in the history
  • Loading branch information
mpasson committed Jan 7, 2024
1 parent dd1e241 commit 9d3dc13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest/test_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_layer_solve():
lay = create_layer_from_creator()
lay.mode(1.0)
modes = lay.get_index()
assert np.allclose(modes, modes_ref)
assert np.allclose(modes[:20], modes_ref[:20])

if __name__ == '__main__':
lay = create_layer_from_creator()
Expand Down

0 comments on commit 9d3dc13

Please sign in to comment.