From 40f13d5aad0baba24fead818861b8d1a37c669f4 Mon Sep 17 00:00:00 2001 From: Larry Ruckman Date: Sat, 6 Jul 2024 14:16:50 -0700 Subject: [PATCH] adding back _Variable.py --- python/pyrogue/_Variable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyrogue/_Variable.py b/python/pyrogue/_Variable.py index 89d766495..aa8c08c4c 100644 --- a/python/pyrogue/_Variable.py +++ b/python/pyrogue/_Variable.py @@ -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}')