Skip to content

Commit 1fcb8de

Browse files
committed
small typo, does not affect results
1 parent bcb0f94 commit 1fcb8de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SU2_CFD/src/solvers/CTurbSASolver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ void CTurbSASolver::Viscous_Residual(const unsigned long iEdge, const CGeometry*
373373
//the order of arguments were flipped in the evaluation of residual_ji, the jacobian associated with point i is stored in jacobian_j and point j in jacobian_i
374374
for (int iVar=0; iVar<nVar; iVar++)
375375
for (int jVar=0; jVar<nVar; jVar++) {
376-
Block_ji[iVar*nVar + jVar] -= SU2_TYPE::GetValue(residual_ij.jacobian_j[iVar][jVar]);
377-
Block_jj[iVar*nVar + jVar] -= SU2_TYPE::GetValue(residual_ij.jacobian_i[iVar][jVar]);
376+
Block_ji[iVar*nVar + jVar] -= SU2_TYPE::GetValue(residual_ji.jacobian_j[iVar][jVar]);
377+
Block_jj[iVar*nVar + jVar] -= SU2_TYPE::GetValue(residual_ji.jacobian_i[iVar][jVar]);
378378
}
379379
// Jacobian.UpdateBlocksSub(iEdge, iPoint, jPoint, residual_ji.jacobian_i, residual_ji.jacobian_j);
380380
// }

0 commit comments

Comments
 (0)