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:
Christian Clauss 2022-07-11 13:11:17 +02:00 committed by GitHub
parent ba129de7f3
commit dad789d903
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,10 @@
name: pre-commit
on: [push, pull_request]
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
pre-commit:

View File

@ -444,6 +444,7 @@
* [Scoring Functions](machine_learning/scoring_functions.py)
* [Sequential Minimum Optimization](machine_learning/sequential_minimum_optimization.py)
* [Similarity Search](machine_learning/similarity_search.py)
* [Support Vector Machines](machine_learning/support_vector_machines.py)
* [Word Frequency Functions](machine_learning/word_frequency_functions.py)
## Maths

View File

@ -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: