From 2c7ac213bb4d651c355b7fb812476514edd08946 Mon Sep 17 00:00:00 2001 From: Jonathan Guyer Date: Wed, 26 Jun 2024 18:15:43 -0400 Subject: [PATCH] Fix typo --- fipy/terms/abstractDiffusionTerm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fipy/terms/abstractDiffusionTerm.py b/fipy/terms/abstractDiffusionTerm.py index ed053b7794..64d158da37 100644 --- a/fipy/terms/abstractDiffusionTerm.py +++ b/fipy/terms/abstractDiffusionTerm.py @@ -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