zero_dim_to_one and empty_to_null can't both be specified
diff --git a/aten/src/ATen/THLongStorageView.h b/aten/src/ATen/THLongStorageView.h
index 0cd0915..da7ebaa 100644
--- a/aten/src/ATen/THLongStorageView.h
+++ b/aten/src/ATen/THLongStorageView.h
@@ -11,6 +11,7 @@
   // zero_dim_to_one converts an empty ArrayRef into [1]
   // empty_to_null converts an empty ArrayRef into a null THLongStorage
   static THLongStorageView make(ArrayRef<int64_t> ref, bool zero_dim_to_one = false, bool empty_to_null = false) {
+    assert(!(zero_dim_to_one && empty_to_null));
     return THLongStorageView(ref, zero_dim_to_one, empty_to_null);
   }
   operator THLongStorage*() {