Skip to content

Failing embedded example in eigs #3096

@dvd101x

Description

@dvd101x

Hi, while testing typing help(eigs) in the demo, I noticed the following SyntaxError

eigs([[5, 2.3], [2.3, 1]])
        {"values": [-0.047950130825634, 6.0479501308256], "eigenvectors": [{"value": -0.047950130825634, "vector": [-0.41462108308383, 0.90999415243308]}, {"value": 6.0479501308256, "vector": [0.90999415243308, 0.41462108308383]}]}
eigs([[1, 2, 3], [4, 5, 6], [7, 8, 9]], { precision: 1e-6, eigenvectors: false }
        SyntaxError: Parenthesis ) expected (char 81)

The second example in the embedded docs is missing a closing parenthesis at the end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions