From f6c0635b53a90575ce48a7810c847086fe709dd7 Mon Sep 17 00:00:00 2001 From: Ilhan Polat Date: Sun, 28 Oct 2018 19:22:11 +0100 Subject: [PATCH] MAINT: Use _assertNdSquareness --- harold/_system_props.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/harold/_system_props.py b/harold/_system_props.py index a82e2e2..f6b7197 100644 --- a/harold/_system_props.py +++ b/harold/_system_props.py @@ -1,6 +1,6 @@ import numpy as np from numpy import count_nonzero, block -from numpy.linalg.linalg import (_assertRank2, _assertSquareness, +from numpy.linalg.linalg import (_assertRank2, _assertNdSquareness, _assertNoEmpty2d, _makearray) from scipy.linalg import solve, norm, eigvals, qr @@ -221,7 +221,7 @@ def controllability_indices(A, B, tol=None): b, _ = _makearray(B) _assertRank2(a, b) _assertNoEmpty2d(a, b) - _assertSquareness(a) + _assertNdSquareness(a) n, m = b.shape