From 9f138260dafeb5a1b541fff8dd577422439feb0b Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 23 Apr 2013 10:25:26 -0600 Subject: Fixed random zeros bug. They weren't that random, the resize routine in PackedIntArray was written poorly. It was growing too much and computing the size of the original array incorrectly, so not all the data was being copied every time. --- src/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/options.cpp') diff --git a/src/options.cpp b/src/options.cpp index 89397f4..4fcf1e2 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -17,7 +17,7 @@ Options::~Options() { } -int Options::selfTest( Bu::StringArray aArgs ) +int Options::selfTest( Bu::StringArray ) { UnitNumber().run(); -- cgit v1.2.3