Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pymbolic/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@


if TYPE_CHECKING:
from collections.abc import Sequence
from collections.abc import Collection

import numpy as np
from numpy.typing import NDArray
Expand Down Expand Up @@ -298,7 +298,7 @@
return x

return NearZeroKiller()(
fft(wrap_intermediate_with_level(0, x), sign=sign,

Check warning on line 301 in pymbolic/algorithm.py

View workflow job for this annotation

GitHub Actions / Pytest on Py3.10

Not supplying complex_dtype is deprecated, falling back to complex128 for now. This will stop working in 2023.

Check warning on line 301 in pymbolic/algorithm.py

View workflow job for this annotation

GitHub Actions / Pytest on Py3.10

Not supplying complex_dtype is deprecated, falling back to complex128 for now. This will stop working in 2023.
wrap_intermediate_with_level=wrap_intermediate_with_level))

# }}}
Expand Down Expand Up @@ -435,8 +435,8 @@
# {{{ symbolic (linear) equation solving

def solve_affine_equations_for(
unknowns: Sequence[str],
equations: Sequence[tuple[Expression, Expression]]
unknowns: Collection[str],
equations: Collection[tuple[Expression, Expression]]
) -> dict[Variable, ArithmeticExpression]:
"""
:arg unknowns: a list of variable names for which to solve.
Expand Down
Loading