diff options
-rw-r--r-- | lib/TH/generic/THTensorMath.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/TH/generic/THTensorMath.c b/lib/TH/generic/THTensorMath.c index 215c04c..db7a0cb 100644 --- a/lib/TH/generic/THTensorMath.c +++ b/lib/TH/generic/THTensorMath.c @@ -591,7 +591,6 @@ static void THTensor_(quickselectnoidx)(real *arr, long k, long elements, long s real THTensor_(medianall)(THTensor *tensor) { THArgCheck(tensor->nDimension > 0, 1, "tensor must have one dimension"); - THArgCheck(THTensor_(isContiguous)(tensor), 1, "input is not contiguous"); real theMedian; ptrdiff_t numel; |