Skip to content

Commit

Permalink
Keep only the Ellipsis workaround for Pythran
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinvis committed Jan 1, 2022
1 parent 63d16f6 commit 1feac29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def dm_taper(sx):
"""
Compute Ai_nz and K_22 on center of north face of T cell.
"""
diffloc[...] = 0
diffloc[:, :, :] = 0
diffloc[2:-2, 1:-2, 1:] = 0.25 * (
K_iso[2:-2, 1:-2, 1:]
+ K_iso[2:-2, 1:-2, :-1]
Expand Down

0 comments on commit 1feac29

Please sign in to comment.