pytmpinv 1.1.3__tar.gz → 1.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytmpinv-1.1.3/pytmpinv.egg-info → pytmpinv-1.2.0}/PKG-INFO +1 -1
- {pytmpinv-1.1.3 → pytmpinv-1.2.0}/pyproject.toml +1 -1
- {pytmpinv-1.1.3 → pytmpinv-1.2.0/pytmpinv.egg-info}/PKG-INFO +1 -1
- {pytmpinv-1.1.3 → pytmpinv-1.2.0}/tmpinv/__init__.py +1 -1
- {pytmpinv-1.1.3 → pytmpinv-1.2.0}/tmpinv/tmpinv.py +2 -2
- {pytmpinv-1.1.3 → pytmpinv-1.2.0}/LICENSE +0 -0
- {pytmpinv-1.1.3 → pytmpinv-1.2.0}/README.md +0 -0
- {pytmpinv-1.1.3 → pytmpinv-1.2.0}/pytmpinv.egg-info/SOURCES.txt +0 -0
- {pytmpinv-1.1.3 → pytmpinv-1.2.0}/pytmpinv.egg-info/dependency_links.txt +0 -0
- {pytmpinv-1.1.3 → pytmpinv-1.2.0}/pytmpinv.egg-info/requires.txt +0 -0
- {pytmpinv-1.1.3 → pytmpinv-1.2.0}/pytmpinv.egg-info/top_level.txt +0 -0
- {pytmpinv-1.1.3 → pytmpinv-1.2.0}/setup.cfg +0 -0
|
@@ -154,8 +154,8 @@ def TMPinvSolve(
|
|
|
154
154
|
p = b_col.shape[0]
|
|
155
155
|
if S is not None:
|
|
156
156
|
S = np.asarray(S, dtype=np.float64)
|
|
157
|
-
if S.shape
|
|
158
|
-
raise TMPinvInputError(f"S must have
|
|
157
|
+
if S.shape != (m + p, m + p):
|
|
158
|
+
raise TMPinvInputError(f"S must have shape {(m+p, m+p)}.")
|
|
159
159
|
if (not np.all((S == -1) | (S == 0) | (S == 1)) or
|
|
160
160
|
np.abs(S).sum(axis=0).max() > 1 or
|
|
161
161
|
np.abs(S).sum(axis=1).max() > 1):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|