Skip to content

Strassen matrix multiplication broken #8733

Closed
@CaedenPH

Description

@CaedenPH

Repository commit

e4ecefa

Python version (python --version)

Python 3.11.3

Dependencies version (pip freeze)

Expected behavior

Actual behavior

Argument of type "tuple[int, int]" cannot be assigned to parameter "__x" of type "_SupportsFloatOrIndex" in function "log2"
Type "tuple[int, int]" cannot be assigned to type "_SupportsFloatOrIndex"
"tuple[int, int]" is incompatible with protocol "SupportsFloat"
"float" is not present
"tuple[int, int]" is incompatible with protocol "SupportsIndex"
"index" is not presentPylancereportGeneralTypeIssues
(variable) maximum: tuple[int, int]

divide_and_conquer/strassen_matrix_multiplication.py
line 126

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions