Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
guyer committed Jun 26, 2024
1 parent b0d350d commit 2c7ac21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fipy/terms/abstractDiffusionTerm.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def _constrainGradient(self, var):
nthCoeffFaceGrad = coeff[numerix.newaxis] * var.faceGrad[:, numerix.newaxis]

b = -(var.faceGrad.constraintMask
* nthCoeffFaceGrad).divergence * mesh.cellVolumes
* nthCoeffFaceGrad).divergence * var.mesh.cellVolumes

return 0, b

Expand Down

0 comments on commit 2c7ac21

Please sign in to comment.