Allow lower bound of a box to equal the upper bound

这个提交包含在:
nmannall
2025-02-13 14:25:39 +00:00
父节点 154e38abcb
当前提交 503cfef2f1

查看文件

@@ -246,7 +246,7 @@ class MPIUserInput(MainGridUserInput[MPIGrid]):
lower_point = np.where(lower_point < 0, 0, lower_point)
upper_point = np.where(upper_point > self.grid.size, self.grid.size, upper_point)
return all(lower_point < upper_point), lower_point, upper_point
return all(lower_point <= upper_point), lower_point, upper_point
class SubgridUserInput(MainGridUserInput[SubGridBaseGrid]):