From fbb9f22d9dac130bdd8798d143963095ccbd2a22 Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> Date: Mon, 8 Feb 2016 16:30:00 +0000 Subject: [PATCH] Test-PackedList1: Removed chained assigments --- applications/test/PackedList1/Test-PackedList1.C | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/applications/test/PackedList1/Test-PackedList1.C b/applications/test/PackedList1/Test-PackedList1.C index b8ef31a2f2b..f39599fa6ce 100644 --- a/applications/test/PackedList1/Test-PackedList1.C +++ b/applications/test/PackedList1/Test-PackedList1.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -72,11 +72,15 @@ int main(int argc, char *argv[]) list1.printInfo(Info, true); Info<< "\ntest assign between references, with chaining\n"; - list1[0] = list1[4] = 1; + list1[0] = 1; + list1[4] = 1; list1.printInfo(Info, true); Info<< "\ntest assign between references, with chaining and auto-vivify\n"; - list1[1] = list1[8] = list1[10] = list1[14] = 2; + list1[1] = 2; + list1[8] = 2; + list1[10] = 2; + list1[14] = 2; list1.printInfo(Info, true); -- GitLab