Commit eaf17983 authored by René Fritze's avatar René Fritze Committed by René Fritze

[pod] remove DeprecationWarning

parent cc11cc9f
......@@ -63,14 +63,6 @@ def pod(A, product=None, modes=None, rtol=1e-7, atol=0., l2_err=0.,
One-dimensional |NumPy array| of singular values.
if isinstance(product, Number):
# old pod signature
assert modes is None
modes, product = product, None
import warnings
warnings.warn("pod signature has changed. Provide 'modes' as keyword argument.",
DeprecationWarning, stacklevel=3)
assert isinstance(A, VectorArray)
assert product is None or isinstance(product, Operator)
assert modes is None or modes <= len(A)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment