aboutsummaryrefslogtreecommitdiffstats
path: root/tests/encperf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/encperf.cxx')
-rw-r--r--tests/encperf.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/encperf.cxx b/tests/encperf.cxx
index 4e7038fd..733d55b6 100644
--- a/tests/encperf.cxx
+++ b/tests/encperf.cxx
@@ -423,8 +423,9 @@ int main(int argc, char **argv)
}
int runCount = count;
- struct stats runs[runCount];
- double values[runCount], dev[runCount];
+ struct stats *runs = new struct stats[runCount];
+ double *values = new double[runCount];
+ double *dev = new double[runCount];
double median, meddev;
if (fn == NULL) {