diff --git a/src/TNL/Containers/Array.hpp b/src/TNL/Containers/Array.hpp index 61c4db1da44d67ae6380eadcd9dedf8e11e6eee5..a3107fbc42fcbe57330d8511621b82ecd0f008f0 100644 --- a/src/TNL/Containers/Array.hpp +++ b/src/TNL/Containers/Array.hpp @@ -549,6 +549,7 @@ Array< Value, Device, Index >& Array< Value, Device, Index >:: operator=( const T& data ) { + Algorithms::ArrayAssignment< Array, T >::resize( *this, data ); Algorithms::ArrayAssignment< Array, T >::assign( *this, data ); return *this; }