Fix bug with 1D arrays and threading.
Some elements got launched multiple times.

Change-Id: Icb257019df591a5d9525867c8ef8d18ef7d4cde5
1 file changed