Skip to content

Commit 4581407

Browse files
hirish99inducer
authored andcommitted
Comment in test_curves [0,1) to [0,1]
1 parent 09004c3 commit 4581407

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

meshmode/mesh/generation.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@
8585

8686
def circle(t: np.ndarray):
8787
"""
88-
:arg t: the parametrization, runs from :math:`[0, 1)`.
88+
:arg t: the parametrization, runs from :math:`[0, 1]`.
8989
:return: an array of shape ``(2, t.size)``.
9090
"""
9191
return ellipse(1.0, t)
9292

9393

9494
def ellipse(aspect_ratio: float, t: np.ndarray):
9595
"""
96-
:arg t: the parametrization, runs from :math:`[0, 1)`.
96+
:arg t: the parametrization, runs from :math:`[0, 1]`.
9797
:return: an array of shape ``(2, t.size)``.
9898
"""
9999

@@ -107,7 +107,7 @@ def ellipse(aspect_ratio: float, t: np.ndarray):
107107

108108
def cloverleaf(t: np.ndarray):
109109
"""
110-
:arg t: the parametrization, runs from :math:`[0, 1)`.
110+
:arg t: the parametrization, runs from :math:`[0, 1]`.
111111
:return: an array of shape ``(2, t.size)``.
112112
"""
113113

@@ -125,7 +125,7 @@ def cloverleaf(t: np.ndarray):
125125

126126
def drop(t: np.ndarray):
127127
"""
128-
:arg t: the parametrization, runs from :math:`[0, 1)`.
128+
:arg t: the parametrization, runs from :math:`[0, 1]`.
129129
:return: an array of shape ``(2, t.size)``.
130130
"""
131131

@@ -140,7 +140,7 @@ def drop(t: np.ndarray):
140140

141141
def n_gon(n_corners, t):
142142
"""
143-
:arg t: the parametrization, runs from :math:`[0, 1)`.
143+
:arg t: the parametrization, runs from :math:`[0, 1]`.
144144
:return: an array of shape ``(2, t.size)``.
145145
"""
146146

@@ -168,7 +168,7 @@ def n_gon(n_corners, t):
168168

169169
def qbx_peanut(t: np.ndarray):
170170
"""
171-
:arg t: the parametrization, runs from :math:`[0, 1)`.
171+
:arg t: the parametrization, runs from :math:`[0, 1]`.
172172
:return: an array of shape ``(2, t.size)``.
173173
"""
174174
ilength = 2*np.pi
@@ -184,7 +184,7 @@ def apple(a: float, t: np.ndarray):
184184
"""
185185
:arg a: roundness parameter in :math:`[0, 1/2]`, where :math:`0` gives
186186
a circle and :math:`1/2` gives a cardioid.
187-
:arg t: the parametrization, runs from :math:`[0, 1)`.
187+
:arg t: the parametrization, runs from :math:`[0, 1]`.
188188
:return: an array of shape ``(2, t.size)``.
189189
"""
190190
ilength = 2*np.pi
@@ -218,7 +218,7 @@ def random(ncoeffs: int, seed: int):
218218

219219
def __call__(self, t: np.ndarray):
220220
"""
221-
:arg t: the parametrization, runs from :math:`[0, 1)`.
221+
:arg t: the parametrization, runs from :math:`[0, 1]`.
222222
:return: an array of shape ``(2, t.size)``.
223223
"""
224224

0 commit comments

Comments
 (0)