Fixes internal compiler error while compiling with VC2015 Update1 x64.

This commit is contained in:
Nikolay Fedorov 2015-12-03 15:21:43 +00:00
parent c134d75351
commit 5f35869461

View File

@ -140,8 +140,10 @@ static void run(Index rows, Index cols, Index depth,
// Release all the sub blocks B'_j of B' for the current thread,
// i.e., we simply decrement the number of users by 1
for(Index j=0; j<threads; ++j)
{
#pragma omp atomic
--(info[j].users);
info[j].users -= 1;
}
}
}
else