From 8e76bc93242ff33bffecd1d96e5e4355ffe80efa Mon Sep 17 00:00:00 2001 From: Dorival Pedroso Date: Sun, 12 Sep 2021 06:25:51 +0000 Subject: [PATCH] Remove redundant returns --- ode/erkhigh.go | 1 - 1 file changed, 1 deletion(-) diff --git a/ode/erkhigh.go b/ode/erkhigh.go index e121fa2b..b716eb88 100644 --- a/ode/erkhigh.go +++ b/ode/erkhigh.go @@ -305,7 +305,6 @@ func newERKhighOrder(kind string) rkmethod { o.do[6][m] = h * (o.D[2][0]*k[0][m] + o.D[2][5]*k[5][m] + o.D[2][6]*k[6][m] + o.D[2][7]*k[7][m] + o.D[2][8]*k[8][m] + o.D[2][9]*k[9][m] + o.D[2][10]*k[10][m] + o.D[2][11]*k[11][m] + o.D[2][12]*k[11][m] + o.D[2][13]*o.kd[0][m] + o.D[2][14]*o.kd[1][m] + o.D[2][15]*o.kd[2][m]) o.do[7][m] = h * (o.D[3][0]*k[0][m] + o.D[3][5]*k[5][m] + o.D[3][6]*k[6][m] + o.D[3][7]*k[7][m] + o.D[3][8]*k[8][m] + o.D[3][9]*k[9][m] + o.D[3][10]*k[10][m] + o.D[3][11]*k[11][m] + o.D[3][12]*k[11][m] + o.D[3][13]*o.kd[0][m] + o.D[3][14]*o.kd[1][m] + o.D[3][15]*o.kd[2][m]) } - return } // function for dense output (DenseOut)