From a3411828f139a80dd82e1f4fd68cf2e91999cebf Mon Sep 17 00:00:00 2001 From: Mitsuru Kariya Date: Mon, 9 Sep 2013 20:42:37 +0900 Subject: [PATCH] [array.swap-global] Fix document typo --- source/libs/array/array/swap-global.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/array/array/swap-global.rst b/source/libs/array/array/swap-global.rst index 774a6c8c..418bb143 100644 --- a/source/libs/array/array/swap-global.rst +++ b/source/libs/array/array/swap-global.rst @@ -33,7 +33,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}}; swap(x, 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 ========================================