We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3587080 commit 4130288Copy full SHA for 4130288
src/TiledArray/tensor/tensor_interface.h
@@ -194,7 +194,7 @@ class TensorInterface {
194
template <typename T1, typename std::enable_if<detail::is_nested_tensor<
195
T1>::value>::type* = nullptr>
196
TensorInterface_& operator=(const T1& other) {
197
- if constexpr (std::is_same_v<numeric_type, numeric_t<T1>>) {
+ if constexpr (std::is_same_v<value_type, value_t<T1>>) {
198
TA_ASSERT(data_ != other.data());
199
}
200
0 commit comments