You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MIGRATION_V1_V2.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,9 @@ This file is intended to guide users willing to convert their codes from PyLops
5
5
In the following we provide a detailed description of all the breaking changes introduced in v2, which
6
6
should be used as a checklist when converting a piece of code using PyLops from v1 to v2.
7
7
8
-
- Several operators have deprecated `N` as a keyword. To migrate, pass only `dims` if both `N` and `dims` are currently being passed.
9
-
If only `N` is being passed, ensure it is being passed as a value and not a keyword argument (e.g., change `Flip(N=100)` to `Flip(100)`).
10
-
-`utils.dottest`: The relative tolerance is new set via `rtol` (before `tol`), and absolute tolerance is new supported via the keyword `atol`. When calling it with purely positional arguments, note that after `rtol` comes now first `atol` before `complexflag`. When using `raiseerror=True` it now emits an `AttributeError` instead of a `ValueError`.
8
+
- Several operators have deprecated `N` as a keyword. To migrate, pass only `dims` if both `N` and `dims` are currently
9
+
being passed. If only `N` is being passed, ensure it is being passed as a value and not a keyword argument (e.g.,
10
+
change `Flip(N=100)` to `Flip(100)`).
11
+
-`utils.dottest`: Change `tol` into `rtol`. Absolute tolerance is now also supported via the keyword `atol`.
12
+
When calling it with purely positional arguments, note that after `rtol` comes now first `atol` before `complexflag`.
13
+
When using `raiseerror=True` it now emits an `AttributeError` instead of a `ValueError`.
0 commit comments