BF: fix test for datatype of values in neighborhood mapping (originally ...

Addresses issue #229.