Skip to content

Commit 62ac061

Browse files
Merge branch 'merge-tests' of github.com:dls-controls/pythonIoc into merge-tests
2 parents b4f7995 + 2c93f39 commit 62ac061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

softioc/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def _write_value(self, record, value):
365365
record.NORD = nord
366366

367367
def _compare_values(self, value, other):
368-
return numpy.all(value == other)
368+
return len(value) == len(other) and numpy.all(value == other)
369369

370370
def _value_to_epics(self, value):
371371
# Ensure we always convert incoming value into numpy array, regardless

0 commit comments

Comments
 (0)