We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fafc732 commit 6e02dbcCopy full SHA for 6e02dbc
pymc3/distributions/continuous.py
@@ -201,7 +201,7 @@ def logp(self, value):
201
return tt.zeros_like(value)
202
203
def _repr_latex_(self, name=None, dist=None):
204
- return r'${} \sim \text{Flat}()$'.format(name)
+ return r'${} \sim \text{{Flat}}()$'.format(name)
205
206
207
class HalfFlat(PositiveContinuous):
@@ -218,7 +218,7 @@ def logp(self, value):
218
return bound(tt.zeros_like(value), value > 0)
219
220
221
- return r'${} \sim \text{{HalfFlat}()$'.format(name)
+ return r'${} \sim \text{{HalfFlat}}()$'.format(name)
222
223
224
class Normal(Continuous):
0 commit comments