diff --git a/src/arraymancer/tensor/private/p_shapeshifting.nim b/src/arraymancer/tensor/private/p_shapeshifting.nim index 840b1c8e..7cf1214a 100644 --- a/src/arraymancer/tensor/private/p_shapeshifting.nim +++ b/src/arraymancer/tensor/private/p_shapeshifting.nim @@ -69,9 +69,6 @@ proc reshapeImpl*(t: AnyTensor, new_shape: varargs[int]|Metadata|seq[int], if t.is_C_contiguous: reshape_no_copy(t, new_shape, result, rowMajor) result.storage = t.storage - elif t.is_F_contiguous: - reshape_no_copy(t, new_shape, result, colMajor) - result.storage = t.storage else: reshape_with_copy(t, new_shape, result)