-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Running nosetests throws the following warning, which seems to indicate that M1 and M2 are not necessarily integers. This is odd.
tests.test_collocation.TestCollocation.test_1 ... pySDC/pySDC/Collocation.py:85: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
L = np.zeros([M1, M2])
/usr/not-backed-up/pySDC/pySDC/Collocation.py:87: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Lp = np.zeros(M2)
/usr/not-backed-up/pySDC/pySDC/Collocation.py:97: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
Lp = M2 * (L[:, M1 - 1] - y * L[:, M2 - 1]) / (1 - y ** 2)
/usr/not-backed-up/pySDC/pySDC/Collocation.py:99: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
y = y0 - L[:, M2 - 1] / Lp
/usr/not-backed-up/pySDC/pySDC/Collocation.py:96: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
L[:, k] = ((2 * k - 1) * y * L[:, k - 1] - (k - 1) * L[:, k - 2]) / k