File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ contains
186186 @:ALLOCATE(d_cbR_y(0 :weno_num_stencils, is2_weno%beg + weno_polyn:is2_weno%end - weno_polyn))
187187
188188 @:ALLOCATE(beta_coef_y(is2_weno%beg + weno_polyn:is2_weno%end - weno_polyn, 0 :weno_polyn, &
189- 0 :2 * (weno_polyn - 1 )))
189+ 0 :weno_polyn * (weno_polyn + 1 )/ 2 - 1 ))
190190
191191 call s_compute_weno_coefficients(2 , is2_weno)
192192
@@ -211,7 +211,7 @@ contains
211211 @:ALLOCATE(d_cbR_z(0 :weno_num_stencils, is3_weno%beg + weno_polyn:is3_weno%end - weno_polyn))
212212
213213 @:ALLOCATE(beta_coef_z(is3_weno%beg + weno_polyn:is3_weno%end - weno_polyn, 0 :weno_polyn, &
214- 0 :2 * (weno_polyn - 1 )))
214+ 0 :weno_polyn * (weno_polyn + 1 )/ 2 - 1 ))
215215
216216 call s_compute_weno_coefficients(3 , is3_weno)
217217
You can’t perform that action at this time.
0 commit comments