Bug in init_ior_2d corrected

This commit is contained in:
Nils Berglund 2024-04-23 20:18:26 +02:00 committed by GitHub
parent cf3550b274
commit 3baa179f2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7535,7 +7535,7 @@ void init_ior_2d(short int *xy_in[NX], double *tcc_table[NX], double *tgamma_tab
#pragma omp parallel for private(i,j)
for (i=0; i<NX; i++){
for (j=0; j<NY; j++){
if (xy_in[i*NY+j] != 0)
if (xy_in[i][j] != 0)
{
// tc[i*NY+j] = COURANT;
tcc_table[i][j] = courant2;