diff --git a/src/TiledArray/tensor/tensor_interface.h b/src/TiledArray/tensor/tensor_interface.h index 5aaf9f511c..b09dc11665 100644 --- a/src/TiledArray/tensor/tensor_interface.h +++ b/src/TiledArray/tensor/tensor_interface.h @@ -194,7 +194,7 @@ class TensorInterface { template ::value>::type* = nullptr> TensorInterface_& operator=(const T1& other) { - if constexpr (std::is_same_v>) { + if constexpr (std::is_same_v>) { TA_ASSERT(data_ != other.data()); }