Skip to content

Commit

Permalink
Add parentheses for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
smpark7 authored Feb 21, 2024
1 parent 210d11f commit e8b49b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bcs/SATurbulentViscosityNoBCBC.C
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ ADReal
SATurbulentViscosityNoBCBC::computeQpResidual()
{
Real sigma = 2.0 / 3.0;
return -1.0 / sigma * (_mu[_qp] + _u[_qp]) * (_grad_u[_qp] * _normals[_qp]) * _test[_i][_qp];
return (-1.0 / sigma) * (_mu[_qp] + _u[_qp]) * (_grad_u[_qp] * _normals[_qp]) * _test[_i][_qp];
}

0 comments on commit e8b49b3

Please sign in to comment.