lapack/testlapack: reduce indentation in Dlanv2 test
@@ -23,6 +23,11 @@ func Dlanv2Test(t *testing.T, impl Dlanv2er) {
b := rnd.NormFloat64()
c := rnd.NormFloat64()
d := rnd.NormFloat64()
+ dlanv2Test(t, impl, a, b, c, d)
+ }
+}
+
+func dlanv2Test(t *testing.T, impl Dlanv2er, a, b, c, d float64) {
aa, bb, cc, dd, rt1r, rt1i, rt2r, rt2i, cs, sn := impl.Dlanv2(a, b, c, d)
mat := fmt.Sprintf("[%v %v; %v %v]", a, b, c, d)
@@ -67,4 +72,3 @@ func Dlanv2Test(t *testing.T, impl Dlanv2er) {
t.Errorf("Unexpected factorization: got [%v %v; %v %v], want [%v %v; %v %v]", gota, gotb, gotc, gotd, a, b, c, d)
}
}
-}
