Skip to content

Commit f6b930b

Browse files
fonnesbecktwiecki
authored andcommitted
Changed list comprehension to iterator
1 parent a923581 commit f6b930b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ def Data(
634634
arr = pandas_to_array(value)
635635

636636
if mutable is None:
637-
major, minor = [int(v) for v in pm.__version__.split(".")[:2]]
637+
major, minor = (int(v) for v in pm.__version__.split(".")[:2])
638638
mutable = major == 4 and minor < 1
639639
if mutable:
640640
warnings.warn(

0 commit comments

Comments
 (0)