Fix compiler warning about shadowing int j variable.
This commit is contained in:
1 parent
fe07b0da9d
commit
3af132ffd4
1 file changed
+1
-1
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user