From 1997234ce0dbca21fdd41a1b7743d3fd7ad669f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Oberhuber?= <oberhuber.tomas@gmail.com>
Date: Thu, 11 Apr 2019 21:27:27 +0200
Subject: [PATCH] Fixed array assignment.

---
 src/TNL/Containers/Array.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/TNL/Containers/Array.hpp b/src/TNL/Containers/Array.hpp
index 61c4db1da4..a3107fbc42 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;
 }
-- 
GitLab