From 8fb6f9556478bfba898cf2b802dbac372263b271 Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Wed, 27 Feb 2019 12:30:09 -0600 Subject: Some final fixes --- ee1301/wk3/hw3_directory/strap012_HW3A.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ee1301/wk3/hw3_directory') diff --git a/ee1301/wk3/hw3_directory/strap012_HW3A.cpp b/ee1301/wk3/hw3_directory/strap012_HW3A.cpp index 38c2a2b..933d072 100644 --- a/ee1301/wk3/hw3_directory/strap012_HW3A.cpp +++ b/ee1301/wk3/hw3_directory/strap012_HW3A.cpp @@ -24,7 +24,7 @@ int main () { for (d=9; d<=27; d++) { winCount=0; for (long n=1000000; n>0; n--) { //The simulation is always done 1,000,000 times - int winTest = spin_the_wheels(d, w); + winTest = spin_the_wheels(d, w); winCount+=winTest; } if (w==6) { -- cgit v1.2.3