Skip to content

Commit f7b5aa2

Browse files
committed
fix: Pass all the optional arguments down to tdsops_init.
1 parent dd037ea commit f7b5aa2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/cuda/backend.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,8 @@ subroutine alloc_cuda_tdsops( &
125125

126126
select type (tdsops)
127127
type is (cuda_tdsops_t)
128-
tdsops = cuda_tdsops_t(n, dx, operation, scheme)
128+
tdsops = cuda_tdsops_t(n, dx, operation, scheme, n_halo, from_to, &
129+
bc_start, bc_end, sym, c_nu, nu0_nu)
129130
end select
130131

131132
end subroutine alloc_cuda_tdsops

src/omp/backend.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ subroutine alloc_omp_tdsops( &
107107

108108
select type (tdsops)
109109
type is (tdsops_t)
110-
tdsops = tdsops_t(n, dx, operation, scheme)
110+
tdsops = tdsops_t(n, dx, operation, scheme, n_halo, from_to, &
111+
bc_start, bc_end, sym, c_nu, nu0_nu)
111112
end select
112113

113114
end subroutine alloc_omp_tdsops

0 commit comments

Comments
 (0)