We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c45e59 commit e1c92b0Copy full SHA for e1c92b0
1 file changed
discretize/tensor_mesh.py
@@ -604,7 +604,7 @@ def cell_bounds(self):
604
"""
605
centers, widths = self.cell_centers, self.h_gridded
606
if self.dim == 1:
607
- bounds = (centers - widths.ravel() / 2, centers + widths.ravel() /2)
+ bounds = (centers - widths.ravel() / 2, centers + widths.ravel() / 2)
608
elif self.dim == 2:
609
x1 = centers[:, 0] - widths[:, 0] / 2
610
x2 = centers[:, 0] + widths[:, 0] / 2
0 commit comments