Check for degenerate tensors during slice

If a tensor with emtpy dimensions is used during a slice operation the assignment fails during the TensorIntDivisor construction. This is prevented by handling empty dimensions with special care. In addition several test cases are implemented in order to verify the expected behavior.

Edited by Rasmus Munk Larsen

Merge request reports

Loading