Skip to content

Commit ec101c5

Browse files
committed
Merge branch 'dev' into patch-swapaxes
# Conflicts: # MIGRATION_V1_V2.md # pylops/basicoperators/CausalIntegration.py # pylops/basicoperators/FirstDerivative.py # pylops/basicoperators/Restriction.py # pylops/basicoperators/SecondDerivative.py # pylops/basicoperators/Symmetrize.py
2 parents 489720c + af3cf70 commit ec101c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MIGRATION_V1_V2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ should be used as a checklist when converting a piece of code using PyLops from
88
- Several operators have deprecated `N` as a keyword. To migrate, pass only `dims` if both `N` and `dims` are currently
99
being passed. If only `N` is being passed, ensure it is being passed as a value and not a keyword argument (e.g.,
1010
change `Flip(N=100)` to `Flip(100)`).
11-
- `dir`, `dirs` and `nodir` have been deprecated in favor of `axis` and `axes`. When previously `nodir` was required, you must now provide the directions along which the operator is applied in `axes`. The default value for `axis` and `axes` are chosen to be -1 and (-2, -1), respectively, whereas the default `dir` and `dirs` was -1 and (0, 1), respectively. Be careful to check all operators where `dir`, `dirs` and `nodir` was not provided explicitly.
11+
- `dir`, `dirs` and `nodir` have been deprecated in favor of `axis` and `axes`. When previously `nodir` was used, you must now provide the directions along which the operator is applied through `axes`. The default value for `axis` and `axes` are chosen to be -1 and (-2, -1), respectively, whereas the default `dir` and `dirs` was 0 and (0, 1), respectively. Be careful to check all operators where `dir`, `dirs` and `nodir` was not provided explicitly.
1212
- `utils.dottest`: Change `tol` into `rtol`. Absolute tolerance is now also supported via the keyword `atol`.
1313
When calling it with purely positional arguments, note that after `rtol` comes now first `atol` before `complexflag`.
1414
When using `raiseerror=True` it now emits an `AttributeError` instead of a `ValueError`.

0 commit comments

Comments
 (0)