summaryrefslogtreecommitdiff
path: root/src/unitnumber.h
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2013-04-23 10:25:26 -0600
committerMike Buland <mike@xagasoft.com>2013-04-23 10:25:26 -0600
commit9f138260dafeb5a1b541fff8dd577422439feb0b (patch)
tree148cecf83d8af00679fdde57a6b31a18f65e0296 /src/unitnumber.h
parente6401f9af190cfbaaab1dc5589546ba5cc2f5293 (diff)
downloadclic-9f138260dafeb5a1b541fff8dd577422439feb0b.tar.gz
clic-9f138260dafeb5a1b541fff8dd577422439feb0b.tar.bz2
clic-9f138260dafeb5a1b541fff8dd577422439feb0b.tar.xz
clic-9f138260dafeb5a1b541fff8dd577422439feb0b.zip
Fixed random zeros bug.0.03
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.
Diffstat (limited to 'src/unitnumber.h')
-rw-r--r--src/unitnumber.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unitnumber.h b/src/unitnumber.h
index 89b1c0f..76496b9 100644
--- a/src/unitnumber.h
+++ b/src/unitnumber.h
@@ -9,6 +9,7 @@ public:
9 UnitNumber(); 9 UnitNumber();
10 virtual ~UnitNumber(); 10 virtual ~UnitNumber();
11 11
12 void parse1();
12 void multiply1(); 13 void multiply1();
13}; 14};
14 15