Hi, let me comment the easy one, this is a feature, I think. Once an element is flagged bad, bad sticks. Bad value should be a value that is normally never present in your data. In particular for the smaller integer types this can be a problem, of course. At least that was my take on bad values. They indicate missing/corrupt data.
Best wishes Ingo On 12.06.19 17:53, Stephan Loyd wrote:
4. setbadtoval() does not work well with some PDL types. For example, use 5.010; use PDL; my $x = indx(1,2,3)->setbadat(1); say $x; # [1 BAD 3] $x->setbadtoval(100); say $x; # still [1 BAD 3] Is this a bug or a feature?
_______________________________________________ pdl-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pdl-general
