Skip to content

Commit

Permalink
adding back _Variable.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Jul 6, 2024
1 parent 75957ca commit 40f13d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyrogue/_Variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ def __init__(self, *,
raise VariableError(f'ValueBits {valueBits} is greater than valueStrude {valueStride}')

# Override the bitSize
bitSize[0] = numValues * valueStride
bitSize[0] = numValues * valueBits

if self._ndType is None:
raise VariableError(f'Invalid base type {self._base} with numValues = {numValues}')
Expand Down

0 comments on commit 40f13d5

Please sign in to comment.