Remove invalid exception in linear operator (#16678)
This commit is contained in:
parent
ca27418eec
commit
fe7bbd8565
@ -478,7 +478,6 @@ class LinearOperator(object):
|
|||||||
cond,
|
cond,
|
||||||
self._max_condition_number_to_be_non_singular(),
|
self._max_condition_number_to_be_non_singular(),
|
||||||
message="Singular matrix up to precision epsilon.")
|
message="Singular matrix up to precision epsilon.")
|
||||||
raise NotImplementedError("assert_non_singular is not implemented.")
|
|
||||||
|
|
||||||
def _max_condition_number_to_be_non_singular(self):
|
def _max_condition_number_to_be_non_singular(self):
|
||||||
"""Return the maximum condition number that we consider nonsingular."""
|
"""Return the maximum condition number that we consider nonsingular."""
|
||||||
|
Loading…
Reference in New Issue
Block a user