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.
rng_fn
1 parent 05d1f04 commit a5e6a34Copy full SHA for a5e6a34
pymc/distributions/continuous.py
@@ -344,7 +344,7 @@ class FlatRV(RandomVariable):
344
_print_name = ("Flat", "\\operatorname{Flat}")
345
346
@classmethod
347
- def rng_fn(cls, rng, *args):
+ def rng_fn(cls, rng, size):
348
raise NotImplementedError("Cannot sample from flat variable")
349
350
@@ -415,7 +415,7 @@ class HalfFlatRV(RandomVariable):
415
_print_name = ("HalfFlat", "\\operatorname{HalfFlat}")
416
417
418
419
raise NotImplementedError("Cannot sample from half_flat variable")
420
421
0 commit comments