diff --git a/src/TiledArray/dist_array.h b/src/TiledArray/dist_array.h index 6c583a795b..c6d38abf7c 100644 --- a/src/TiledArray/dist_array.h +++ b/src/TiledArray/dist_array.h @@ -487,7 +487,9 @@ class DistArray : public madness::archive::ParallelSerializableObject { /// initialized using the `op` function/functor, which transforms /// each tile in `other` using `op` /// \param other The array to be copied - template + template , TiledRange>>> DistArray(const DistArray& other, Op&& op) : pimpl_() { *this = foreach(other, std::forward(op)); }