Skip to content

Commit b311e90

Browse files
committed
Edit spelling.
1 parent 073486b commit b311e90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/examples/example_dates.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Assuming that such a table exists in database, we can write a specification agai
153153
# up these tests.
154154
test_constraint = collect_data_tests(requirements)
155155
156-
Please note that the ``DateNoOverlap`` Constraints also exist
156+
Please note that the ``DateNoOverlap`` Constraint also exists
157157
in a slightly different form: ``DateNoOverlap2d``.
158158
As the names suggest, it can operate in 'two date dimensions'. Said constraint
159159
be added with :meth:`datajudge.WithinRequirement.add_date_no_overlap_2d_constraint`.

src/datajudge/db_access.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ def get_interval_overlaps_nd(
484484
We define the presence of 'overlap' as presence of a non-empty intersection
485485
between two intervals.
486486
487-
Given that we have an interval of a single dimension and two intervals :math:`t1` and :math:`t2`,
487+
Given that we care about a single dimension and have two intervals :math:`t1` and :math:`t2`,
488488
we define an overlap follows:
489489
490490
.. math::

0 commit comments

Comments
 (0)