Fix compiler warning about shadowing int j variable.

This commit is contained in:
stolk
2018-11-09 16:10:42 -08:00
parent fe07b0da9d
commit 3af132ffd4

View File

@@ -56,7 +56,7 @@ public:
{
for (int h = 0; h < A.m_rowNonZeroElements1[i].size(); h++)
{
int j = A.m_rowNonZeroElements1[i][h];
j = A.m_rowNonZeroElements1[i][h];
if (j != i) //skip main diagonal
{
delta += A(i, j) * x[j];