Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
throw a warning when using comparison operator and badval is in {0, 1}
When using a comparison operator, inconsistent results can appear when a badvalue is either 0 or 1. This is because {0, 1} is the range of all operators that return a logical PDL. This means that if the input PDL contains badvalues, it can not both represent badvalues that are the result of computing the operator *and* logical values at the same time. This is a continuation of the work addressing the problem brought up in <http://sourceforge.net/p/pdl/bugs/390/>, <#124>.
- Loading branch information
Showing
2 changed files
with
56 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters