We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3587080 + 4130288 commit 1803cd6Copy full SHA for 1803cd6
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