Commit 1a235aa
committed
NI_DAQmx: Uniformity in how AO and DO tables are checked for being all zero.
not np.any(A) is more memory efficient than np.all(A==0), as it doesn't have to
construct the intermediate array of bools.1 parent 1c377cc commit 1a235aa
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
0 commit comments