Skip to content

Commit

Permalink
Fix bug in ArrayDevice
Browse files Browse the repository at this point in the history
  • Loading branch information
bengineerd committed Feb 8, 2024
1 parent 04d1e8a commit 33c33b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyrogue/_Device.py
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ def __init__(self, *, arrayClass, number, stride=0, arrayArgs=None, **kwargs):
if arrayArgs is None:
arrayArgs = [{} for x in range(number)]
elif isinstance(arrayArgs, dict):
arrayArgs = [arrayArgs for x in range(number)]
arrayArgs = [arrayArgs.copy() for x in range(number)]

for i in range(number):
args = arrayArgs[i]
Expand Down

0 comments on commit 33c33b4

Please sign in to comment.