Skip to content

DivideError: integer division error when handling big matrices #5

@dtamayo-nlp

Description

@dtamayo-nlp

The algorithm breaks when we run a specific matrix. The matrix is too big to attach the file, but I leave below the code that allows to generate it.

The source of the error seems to be on line 12 of bezout.jl and is caused by the size of the Int64 numbers. When we try to change the format to BigInt, the algorithm also crashes.

Code:
You only need to run this part: error_in_matrix.txt
Local module used: BoundaryMap.txt

Most of the BoundaryMap module is not mine, it has been made by @julian-upc. However, you do not need to understand it. It is only necessary to call the function obtain_matrix() as it is done in error_in_matrix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions