mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-22 08:04:25 +00:00
Again, use better variable names
This commit is contained in:
parent
ba45dfd61c
commit
c96a67bcf7
1 changed files with 2 additions and 2 deletions
|
@ -109,9 +109,9 @@ __host__ int main(int argc, char **argv)
|
|||
{
|
||||
// A[NY][NX]
|
||||
DATA_TYPE** A = new DATA_TYPE*[NX] {};
|
||||
for(unsigned int i = 0; i < NX; i++)
|
||||
for(unsigned int x = 0; x < NX; x++)
|
||||
{
|
||||
A[i] = new DATA_TYPE[NY];
|
||||
A[x] = new DATA_TYPE[NY];
|
||||
}
|
||||
|
||||
DATA_TYPE* x = new DATA_TYPE[NY] {};
|
||||
|
|
Loading…
Reference in a new issue