Skip to content

Commit 9444946

Browse files
committed
Fix missing modelcontext import flagged by ruff
1 parent ec222e2 commit 9444946

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pymc/distributions/shape_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,6 @@ def get_support_shape(
416416
if len(dims) < ndim_supp:
417417
raise ValueError(f"Number of dims is too small for ndim_supp of {ndim_supp}")
418418
from pymc.model.core import modelcontext
419-
420419
model = modelcontext(None)
421420
inferred_support_shape = [
422421
model.dim_lengths[dims[i]] - support_shape_offset[i] for i in range(-ndim_supp, 0)

0 commit comments

Comments
 (0)