After using filter operation with a conditioning variable over a SeparateHalfspaceFactor, the resulting data object in the factor has a wrong length: positions non consistent with the filter are simply set with an empty list, instead of being removed.
After using filter operation with a conditioning variable over a
SeparateHalfspaceFactor
, the resulting data object in the factor has a wrong length: positions non consistent with the filter are simply set with an empty list, instead of being removed.Consider the following code:
whereas the output for the filtered factor should be