mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 10:31:29 +08:00
Get rid of the Union (#6246)
* Get rid of the Union * updating DIRECTORY.md * Get rid of the Union * Remove the redundant pre-commit runs. Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -44,9 +44,8 @@ Find the sum of FITs for the BOPs.
|
||||
from __future__ import annotations
|
||||
|
||||
from collections.abc import Callable
|
||||
from typing import Union
|
||||
|
||||
Matrix = list[list[Union[float, int]]]
|
||||
Matrix = list[list[float | int]]
|
||||
|
||||
|
||||
def solve(matrix: Matrix, vector: Matrix) -> Matrix:
|
||||
|
Reference in New Issue
Block a user