@@ -18,10 +18,6 @@ module test_meshgrid
1818 implicit none
1919
2020 public :: collect_meshgrid
21-
22- #:for k1 in REAL_KINDS
23- real(kind=${k1}$), parameter :: PI_${k1}$ = acos(-1.0_${k1}$)
24- #:endfor
2521
2622contains
2723
@@ -56,8 +52,8 @@ contains
5652 #:set INDICES = [1, 2] + [j for j in range(3, rank + 1)]
5753 #:endif
5854 #:endif
59- #: set RName = rname(f"meshgrid_{INDEXING}", rank, t1, k1)
60- #: set GRIDSHAPE = "".join("length," for j in range(rank)).removesuffix(",")
55+ #:set RName = rname(f"meshgrid_{INDEXING}", rank, t1, k1)
56+ #:set GRIDSHAPE = "".join("length," for j in range(rank)).removesuffix(",")
6157 subroutine test_${RName}$(error)
6258 !> Error handling
6359 type(error_type), allocatable, intent(out) :: error
@@ -83,7 +79,7 @@ contains
8379 ${"".join(f"xm{j}," for j in range(1, rank + 1)).removesuffix(",")}$ &
8480 ${OPTIONAL_PART_IN_SIGNATURE(INDEXING)}$ )
8581 #:for j in range(1, rank + 1)
86- call check(error, abs( maxval(xm${j}$ - xm${j}$_exact)), ZERO)
82+ call check(error, maxval(abs (xm${j}$ - xm${j}$_exact)), ZERO)
8783 if (allocated(error)) return
8884 #:endfor
8985 end subroutine test_${RName}$
0 commit comments