Skip to content

Commit 8efbefd

Browse files
committed
#3230 Update changelog and add test assert
1 parent 0877873 commit 8efbefd

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

changelog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2) PR #3231 for #3230. Fixes a bug in upper_bound_psyir() for field vectors.
2+
13
1) PR #3229 for #3227. Fixes a bug with PSyAD where the wrong operator
24
space was being generated.
35

src/psyclone/tests/domain/lfric/dofkern_test.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,15 @@ def test_multi_invoke_cell_dof_builtin(tmpdir, monkeypatch, annexed, dist_mem):
299299
else:
300300
assert "loop0_stop = undf_w1" in code
301301

302-
# Check that dof kernel is called correctly
302+
# Check that dof kernels are called correctly
303+
output = (
304+
" do df = loop0_start, loop0_stop, 1\n"
305+
" call testkern_dofs_vector_write_code(field_vec_1_data(df), "
306+
"field_vec_2_data(df), field_vec_3_data(df))\n"
307+
" enddo\n"
308+
)
309+
assert output in code
310+
303311
output = (
304312
" do df = loop1_start, loop1_stop, 1\n"
305313
" call testkern_dofs_code(f1_data(df), f2_data(df), "

0 commit comments

Comments
 (0)