We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db13196 commit b79f4caCopy full SHA for b79f4ca
src/TiledArray/tensor/tensor_interface.h
@@ -179,7 +179,6 @@ class TensorInterface {
179
/// \param data The data pointer for this tensor
180
TensorInterface(const range_type& range, pointer data)
181
: range_(range), data_(data) {
182
- TA_ASSERT(data);
183
}
184
185
/// Construct a new view of \c tensor
@@ -188,7 +187,6 @@ class TensorInterface {
188
187
189
TensorInterface(range_type&& range, pointer data)
190
: range_(std::move(range)), data_(data) {
191
192
193
194
template <typename T1, typename std::enable_if<detail::is_nested_tensor<
0 commit comments