From ee965b7f5db1eb8834f3d8e70fa7cf59324c2a06 Mon Sep 17 00:00:00 2001 From: Mitsuru Kariya Date: Sun, 8 Sep 2013 23:40:15 +0900 Subject: [PATCH] [array.swap] Fix document typo --- source/libs/array/array/swap.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/array/array/swap.rst b/source/libs/array/array/swap.rst index 83ddf0d3..fb7518c8 100644 --- a/source/libs/array/array/swap.rst +++ b/source/libs/array/array/swap.rst @@ -30,7 +30,7 @@ Examples auto x = array{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}}; auto y = array{{10, 9, 8, 7, 6, 5, 4, 3, 2, 1}}; x.swap(y); - SPROUT_ASSERT_MSG(x[0] = 10 && y[0] == 1, "each element are swapped."); + SPROUT_ASSERT_MSG(x[0] == 10 && y[0] == 1, "each element are swapped."); Complexity ========================================