Commit d91f78c
Matthias Kastner
Null Wave comparison
NULL_WAVE could not be as input to CHECK_WAVE() since binary comparison of
`(type & NULL_WAVE) == NULL_WAVE` will always yield 1.
bug introduced in 06b2e06:
To ensure correct behaviour the following two test cases were used:
```igor
Function MyTest()
Make/FREE wv
CHECK_WAVE(wv, NULL_WAVE)
End
Function MyTest2()
WAVE/Z wv
REQUIRE_WAVE(wv, NULL_WAVE)
End
```1 parent 2bf4653 commit d91f78c
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
493 | 498 | | |
494 | 499 | | |
495 | 500 | | |
| |||
0 commit comments