Skip to content

Commit

Permalink
#2875 Update changelog and add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sergisiso committed Feb 11, 2025
1 parent ced6cbc commit 58c8301
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@
20) PR #2799 for #2779. Implement split finite-element order for
function spaces in the LFRic API and update Adjoint tests to use it.

21) PR #2883 for #2875. Fix issues cannonicalising WHEREs with elemental
functions.

release 3.0.0 6th of December 2024

1) PR #2477 for #2463. Add support for Fortran Namelist statements.
Expand Down
3 changes: 3 additions & 0 deletions src/psyclone/psyir/frontend/fparser2.py
Original file line number Diff line number Diff line change
Expand Up @@ -4204,8 +4204,11 @@ def _array_syntax_to_indexed(self, parent, loop_vars):
f"Found a function call inside a where clause with "
f"unknown elemental status: "
f"{call_ancestor.debug_string()}")
# If it is none-elemental, we leave this array reference as it
# is
if not call_ancestor.is_elemental:
continue
# Otherwise, we continue replacing the range with the loop idx

if first_rank:
if rank != first_rank:
Expand Down

0 comments on commit 58c8301

Please sign in to comment.