Skip to content

Commit b7e0f1c

Browse files
committed
fix code mistakes
1 parent 4285bdb commit b7e0f1c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/psyclone/psyir/nodes/intrinsic_call.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2427,7 +2427,6 @@ class Intrinsic(IAttr, Enum):
24272427
max_count=1,
24282428
types=DataNode,
24292429
arg_names=(("x",),)),
2430-
required_args=ArgDesc(1, 1, (DataNode)),
24312430
optional_args={},
24322431
return_type=_get_first_argument_type,
24332432
reference_accesses=None,

src/psyclone/tests/psyir/nodes/intrinsic_call_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,8 +1293,8 @@ def test_reduce_return_type(fortran_reader):
12931293
integer, dimension(100) :: z
12941294
integer :: y
12951295
y = REDUCE(x, test)
1296-
z = REDUCE(x, test, 2)
1297-
y = REDUCE(z, test, 2)
1296+
z = REDUCE(x, test, dim=2)
1297+
y = REDUCE(z, test, dim=2)
12981298
end subroutine test
12991299
"""
13001300
psyir = fortran_reader.psyir_from_source(code)

0 commit comments

Comments
 (0)