Generated code should not use global variables
ggorman opened this issue · comments
Gerard Gorman commented
Wherever possible, variables should be declared nearby where they are first used. Exceptions include data that is shared between threads, in which case they are declared outside the parallel section.
Variables of global scope should never be declared!