From 96ad288fc8364c27b3c8f9c60d28a15dc3992f08 Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Fri, 22 Jan 2016 19:03:13 +0000 Subject: [PATCH] Corrected slice notation for OA. --- gprMax/optimisation_taguchi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gprMax/optimisation_taguchi.py b/gprMax/optimisation_taguchi.py index 4d7d9cec..cdb0a219 100644 --- a/gprMax/optimisation_taguchi.py +++ b/gprMax/optimisation_taguchi.py @@ -113,7 +113,7 @@ def construct_OA(optparams): OA[:, col + (jj - 1) * (s - 1) + kk] = np.mod(OA[:, jj] * kk + OA[:, col], s) # First row and first columns are unneccessary, only there to match algorithm, and cut down columns to number of parameters to optimise - OA = OA[1::, 1::k] + OA = OA[1:, 1:k + 1] return OA, N, cols, k, s, t