Skip to content

Commit

Permalink
python - fix bad array bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylt committed Jan 16, 2025
1 parent cc3bdf8 commit 99837b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tests/test-1-vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def test_126(ceed_resource, capsys):
a = np.arange(10, 10 + n, dtype=ceed.scalar_type())
x.set_array(a, cmode=libceed.USE_POINTER)

a2 = np.arange(10, n, dtype=ceed.scalar_type())
a2 = np.arange(0, n, dtype=ceed.scalar_type())
y.set_array(a2, cmode=libceed.USE_POINTER)

y.copy_from(x)
Expand Down

0 comments on commit 99837b8

Please sign in to comment.