Skip to content

Commit

Permalink
Merge pull request #284 from arfc/dont-use-std-norm
Browse files Browse the repository at this point in the history
Don't use std::norm for Euclidean norm
  • Loading branch information
smpark7 authored Sep 18, 2024
2 parents c04cc19 + f424a00 commit 0d3ed62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auxkernels/WallShearStressAux.C
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ WallShearStressAux::computeValue()
// Parallel component of prior velocity gradient
grad_vel_wall -= (_normals[_qp] * grad_vel_wall) * _normals[_qp];

return raw_value(_mu[_qp]) * std::norm(grad_vel_wall);
return raw_value(_mu[_qp]) * grad_vel_wall.norm();
}

0 comments on commit 0d3ed62

Please sign in to comment.